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

Use authMethodsLeft in the sample servers #784

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

artdent
Copy link

@artdent artdent commented Apr 25, 2019

RFC 4252, which covers ssh authentication, allows clients to respond
to request the auth method 'none', to which the server should respond
with a list of allowed methods. In particular, WinSCP performs this
check, and if the server responds with an empty list, it terminates
the session. (Most other clients just try various methods without
checking.)

So, it'll be good to handle this case in the sample server
implementations as a hint to implementors about this part of the
protocol.

RFC 4252, which covers ssh authentication, allows clients to respond
to request the auth method 'none', to which the server should respond
with a list of allowed methods. In particular, WinSCP performs this
check, and if the server responds with an empty list, it terminates
the session. (Most other clients just try various methods without
checking.)

So, it'll be good to handle this case in the sample server
implementations as a hint to implementors about this part of the
protocol.
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

Successfully merging this pull request may close these issues.

1 participant