Force SSH to use password authentication

This is a simple but useful tip. I have a server where I do SSH public key authentication for SVN+SSH, but sometimes would like to just login to the site and get a command line. For those times, I use the following command to force password authentication even tough I have the correct identity file in my .ssh folder.

ssh -o PreferredAuthentications="password"  myUsername@myServerAddress





Leave a Reply

Your email address will not be published. Required fields are marked *