ask ssh lj
Jul. 6th, 2012 06:25 amso, when I try to ssh to a certain host, it fails with the message "Permission denied (,password)." Here's the tail end of the ssh -v of the connection:
How do I force ssh to use password authentication and to not try to use my ssh keys?
debug1: Found key in /home/regis/.ssh/known_hosts:156 debug1: ssh_dss_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: ,password debug1: No more authentication methods to try.
How do I force ssh to use password authentication and to not try to use my ssh keys?
no subject
Date: 2012-07-07 01:21 am (UTC)But I'm not sure you're interpreting the situation correctly. When I do "ssh -v", the messages suggest that "Authentications that can continue:" is a message from the sshd end saying what it is willing to accept, then the ssh end picks an auth mechanism from the list that it is willing to do and tries that. Which suggests that either your ssh is choking on ",password" itself, or it doesn't think it can present a password.