Closed
Description
var ssh = new SshClient(hostName, username, password);
ssh.Connect();
var command = ssh.RunCommand("whoami");
Console.WriteLine($"Command result: {command.Result}");
ssh.Disconnect();
ssh.Dispose();
The above code runs fine on Windows but hangs on MacOS. It will connect and run the remote command just fine, but it never gets past the .Disconnect. If there is no .Disconnect, it will hang on .Dispose.
Tested with .NET Core 2.2 and 3.1 and v2016.1.0.
Downgrading to v2013.4.7 fixes the issue.
Metadata
Metadata
Assignees
Labels
No labels