-
-
Notifications
You must be signed in to change notification settings - Fork 963
Closed
Description
Non-standard protocol version identification will cause connect to fail with error message "Socket read operation has timed out after 30000 milliseconds."
I have checked the code, this is caused by such identification not matching the server version regex.
SSH.NET/src/Renci.SshNet/Connection/ProtocolVersionExchange.cs
Lines 71 to 77 in 6e1f839
var identificationMatch = ServerVersionRe.Match(line); | |
if (identificationMatch.Success) | |
{ | |
return new SshIdentification(GetGroupValue(identificationMatch, "protoversion"), | |
GetGroupValue(identificationMatch, "softwareversion"), | |
GetGroupValue(identificationMatch, "comments")); | |
} |
Is softwareversion a required property in subsequent data transfer? If not, we can support that kind of servers.
And WinSCP and FileZilla support this identification.
Metadata
Metadata
Assignees
Labels
No labels