<PackageReference Include="SSH.NET" Version="2025.1.0" />

Shell

public sealed class Shell : IDisposable
Represents instance of the SSH shell object.
public bool IsStarted { get; }

Gets a value indicating whether this shell is started.

Occurs when an error occurred.

Occurs when shell is started.

Occurs when shell is starting.

Occurs when shell is stopped.

Occurs when shell is stopping.

public void Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Start()

Starts this shell.

public void Stop()

Stops this shell.