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
Update ssh login pubkey module to correctly identify windows ssh platform #18547
Update ssh login pubkey module to correctly identify windows ssh platform #18547
Conversation
Shouldn't recog be used instead? |
Interesting concept. It would need to be expanded to include a |
Will answer the question in two parts;
I was contemplating if this belonged in Recog, but decided the overhead wasn't worth it. However, the RSpec pattern I'm introducing could allow us to migrate the strings to Recog in the future without a lot of effort
For this particular codepath that I'm fixing - we can't use that file, as this PR is updating the fingerprinting for the |
Well the verification says to make sure the unit tests pass which they do. I tested this with OpenSSH installed natively in Windows as well as with Cygwin. In both cases, the existing fingerprints were matching and I didn't notice an issue in the version currently in the master branch. I'll go ahead and merge this because the fingerprint change seems reasonable. In the following output, port 22 is the native OpenSSH server and port 2222 is installed via Cygin.
|
Release NotesThis fixes an issue in the platform detection used by the SSH login modules that was causing certain Windows environments to be incorrectly fingerprinted. |
Update ssh login pubkey module to correctly identify windows ssh platform
After fixing this, I still had some issues with the target here - #18547
Before
No identification
After
Identified as windows
Verification