Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

.Disconnect hangs the thread on MacOS #686

Copy link
Copy link
@delebru

Description

@delebru
Issue body actions
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
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.