Sample Header Ad - 728x90

How to force ssh client to use only password auth?

700 votes
13 answers
888091 views
If I use pubkey auth from e.g.: an Ubuntu 11.04 how can I set the ssh client to use only password auth to a server? (just needed because of testing passwords on a server, where I default log in with key) I found a way: mv ~/.ssh/id_rsa ~/.ssh/id_rsa.backup mv ~/.ssh/id_rsa.pub ~/.ssh/id_rsa.pub.backup and now I get prompted for password, but are there any offical ways?
Asked by LanceBaynes (41475 rep)
Jun 17, 2011, 06:26 AM
Last activity: Mar 18, 2025, 09:00 AM