possible fix for #95 deprecated option UseLogin#103
Closed
MrSecure wants to merge 1 commit into
Closed
Conversation
chris-rock
approved these changes
May 4, 2018
Member
chris-rock
left a comment
There was a problem hiding this comment.
Thank you @MrSecure for this improvement
Member
|
@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? |
Member
|
Thank you @atomic111 you are right, it should be then. This prevent that all other values then |
chris-rock
requested changes
May 4, 2018
Member
chris-rock
left a comment
There was a problem hiding this comment.
As requested in my comment, I think we should make the control a little bit more narrow in its allowed values
Member
|
@MrSecure can you please add this small change? |
Member
|
@MrSecure @chris-rock @atomic111 we can now do it depending on the ssh version, see #110 |
Member
|
@artem-sidorenko That would be a great solution |
Member
|
closing this in favour of #114 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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