Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kovacsbertalan opened this issue Apr 17, 2024 · 1 comment
Open

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

kovacsbertalan opened this issue Apr 17, 2024 · 1 comment

Comments

@kovacsbertalan
Copy link

No description provided.

@kovacsbertalan
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant