Skip to content

Support non-standard protocol version identification #787

Closed
@yew

Description

@yew

image

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.

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions