-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support identification string without carriage return (#109)
Connecting to an OpenSSH 7.4 server fails due to that it only uses line feeds and no carriage returns in the protocol version exchange. This change makes sure that the identification string is properly parsed when no carriage returns are present. Since other clients have no problem connecting to OpenSSH 7.4, not expecting a carriage return seems to be common. The following from RFC 4253 also indicates that this is no problem: "Implementers who wish to maintain compatibility with older, undocumented versions of this protocol may want to process the identification string without expecting the presence of the carriage return character..."
- Loading branch information
Showing
2 changed files
with
73 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters