Skip to content

Identification string should be sent before waiting for server identification string #505

Closed
@martinprikryl

Description

@martinprikryl

According to RFC 4253 Section 4.2. Protocol Version Exchange:

When the connection has been established, both sides MUST send an identification string.

SSH.NET sends its identification string only after waiting for server's identification string. Amazon Managed SFTP server has the same issue. So you cannot connect to that SFTP server with SSH.NET. Both sides first wait for the other side to send the identification string before sending its own.

Spotted thanks to: https://stackoverflow.com/q/54014749/850848

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions