Authentication Order with SSH

Posted by Oz123 on Server Fault See other posts from Server Fault or by Oz123
Published on 2011-06-24T07:54:55Z Indexed on 2011/06/24 8:24 UTC
Read the original article Hit count: 263

Filed under:
|

i am still have troubles mastering sshd - when I login with -v I see that ssh is authenticating the following way

debug1: Authentications that can continue: publickey,gssapi-with-mic,password,hostbased

I would like to change the order ... any idea how ?

My bigger problem is that user with locked accounts, can still login via public-keys. I have found that I could add the user to a group "ssh-locked" add deny that group from sshing, but I am still wondering if there is a way to tell ssh'd : Please check password before keys ...

Thanks, Oz

© Server Fault or respective owner

Related posts about ssh

Related posts about openssh