ssh2 icon indicating copy to clipboard operation
ssh2 copied to clipboard

Use authMethodsLeft in the sample servers

Open artdent opened this issue 5 years ago • 0 comments

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.

artdent avatar Apr 25 '19 15:04 artdent