Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.0
-
None
Description
The rfc4253 does not indicate whether the ssh client must send its own version number right after receiving the version number of the server.
I have encountered a situation where mina-sshd is used to connect to cisco's sshd service, sometimes it can be connected, sometimes not connected.
Some rules are found by capturing packets. If the client sends its own version number after receiving the version number of the server, it can be connected. If the client sends its own version number before receiving the version number of the server, then it will not be connected.
I think, a better way is to change the SshClient code to send the version number of the client right after receiving the version number of the server.