ssh2 icon indicating copy to clipboard operation
ssh2 copied to clipboard

SSH version string "SSH-2.0-" is not accepted

Open kovacsbertalan opened this issue 1 year ago • 1 comments

kovacsbertalan avatar Apr 17 '24 13:04 kovacsbertalan

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.

kovacsbertalan avatar Apr 17 '24 13:04 kovacsbertalan