-
Notifications
You must be signed in to change notification settings - Fork 78
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
possible fix for #95 deprecated option UseLogin #103
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @MrSecure for this improvement
@MrSecure thanks for your PR, it would be nice to check for no and for nil in an describe.one block. Can you adjust this please? |
Thank you @atomic111 you are right, it should be
then. This prevent that all other values then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As requested in my comment, I think we should make the control a little bit more narrow in its allowed values
@MrSecure can you please add this small change? |
@MrSecure @chris-rock @atomic111 we can now do it depending on the ssh version, see #110 |
@artem-sidorenko That would be a great solution |
closing this in favour of #114 |
In my testing this fixes the deprecation of the UseLogin option in more recent OpenSSH versions.
Additionally, it should detect the insecure configuration as far back as OpenSSH 3.0.2 (release notes link below state that UseLogin was NOT ENABLED by default at that time)
https://www.openssh.com/txt/release-3.0.2