If you use:
PasswordAuthentication no
ChallengeResponseAuthentication no
PubkeyAuthentication yes

then SSH will only allow public-key auth. The server has the public key
in authorized_keys, you need to have the corresponding private key.

-- 
ssh logins doesn't show the MOTD when connecting with public key authorisation
https://bugs.launchpad.net/bugs/543767
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to