From ArchWiki


It seems PasswordAuthentication needs to be allowed in /etc/ssh/sshd_config Without this I get 'authentication failed' when trying to log in.

—This unsigned comment is by FreeTheBee (talk) 12:44, 21 October 2012‎ (UTC). Please sign your posts with ~~~~!

Also, If you need it, yes or no, the text should match...
   You need to allow RSAauthentication, Password Authentication, and you also need 
   to include nx public keys to Authorizedkeysfile."
   If you do not want to allow password login globally, add match block at the end 
   of file like below: /etc/ssh/sshd_config:
   RSAAuthentication yes
   PubkeyAuthentication yes
   PasswordAuthentication no
—This unsigned comment is by Xtian (talk) 00:08, 16 September 2013‎ (UTC). Please sign your posts with ~~~~!