public SSHRemoteShell(UnixSystem remoteSystem) { _shell = new StreamingShell(remoteSystem); _shell.OutputReceived += OnOutputReceived; _shell.Closed += OnClosedOrDisconnected; _shell.Disconnected += OnClosedOrDisconnected; _shell.ErrorOccured += OnError; _shell.BeginOutputRead(); }
public void Start() { _shell.BeginOutputRead(); }