-
-
Notifications
You must be signed in to change notification settings - Fork 951
An established connection was aborted by the server, ecdh-sha2-nistp256 #1636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
hmm, there were not really any changes to ECDH key exchange between 2024.2.0 and 2025.0.0 so don't have an obvious idea what version of .NET is the app using? and does the error happen every time? |
net 9.0, happens every time in new version |
is the server publicly reachable, or can you send the packet trace? |
I've just sent the address in the email. |
The issue was DSA removal (#1558). Apparently the library does not check for matching host key algorithms before continuing the key exchange, causing misleading/less informative issues like this one. That could be improved |
After updating to 2025.0.0 start receiving ' An established connection was aborted by the server ' error.
at Renci.SshNet.Session.WaitOnHandle(WaitHandle waitHandle, TimeSpan timeout)
at Renci.SshNet.Session.WaitOnHandle(WaitHandle waitHandle)
at Renci.SshNet.Session.ConnectAsync(CancellationToken cancellationToken)
at Renci.SshNet.BaseClient.CreateAndConnectSessionAsync(CancellationToken cancellationToken)
at Renci.SshNet.BaseClient.ConnectAsync(CancellationToken cancellationToken)
The text was updated successfully, but these errors were encountered: