Quantcast
Channel: sshnet Source Code Rss Feed
Viewing all articles
Browse latest Browse all 291

Patch Uploaded: #17798

$
0
0

MauriceArends has uploaded a patch.

Description:
During the key exchange phase, Renci.Ssh would throw an Renci.SshNet.Common.SshException if the server sends debug messages.

Stack trace:
Renci.SshNet.Common.SshException: Message type 4 is not valid.
at Renci.SshNet.Session.WaitOnHandle(WaitHandle waitHandle, TimeSpan timeout)
at Renci.SshNet.Session.Connect()
at Renci.SshNet.BaseClient.Connect()

The attached Session.cs fixes this by not disabling debug messages after receiving the key exchange init from the server. See method: OnKeyExchangeInitReceived


Viewing all articles
Browse latest Browse all 291

Trending Articles