You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the Exception
I can connect sshd server. bat I can't run any command.
An existing connection was forcibly closed by the remote host
//Generate ConnectionInfo for Win32-OpenSSH sshd server (localhost)
var info = GenerateConnectionInfo(name);
var client = new SshClient(info);
//In this timing IsConnected == true
client.Connect();
//Throw!! SshConnectionException
//An existing connection was forcibly closed by the remote host
var cmd = client.RunCommand("dir");
Console.WriteLine(cmd.Result);
The text was updated successfully, but these errors were encountered:
I got the Exception
I can connect sshd server. bat I can't run any command.
An existing connection was forcibly closed by the remote host
The text was updated successfully, but these errors were encountered: