ssh2
ssh2 copied to clipboard
SSH version string "SSH-2.0-" is not accepted
The version check in Protocol.js does not support this exact version. Changing the regular expression of RE_IDENT from /^SSH-(2\.0|1\.99)-([^ ]+)(?: (.*))?$/ to /^SSH-(2\.0|1\.99)-([^ ]+)?(?: (.*))?$/ fixes this.