SSH Don't offer a key, use a password

Posted on Fri 19 February 2016 in Computing

This is a problem i've been having more and more as my collection of keys and \~/.ssh.config grows. Sometimes you just need to log in with a password but ssh will try all of your keys and then the server prevents you from trying a password challenge because you've failed too many logins e.g.

Received disconnect from 2: Too many authentication failures for ... 

Just use ssh -o PubkeyAuthentication=no