Last Updated: February 25, 2016
· ivadim

Force ssh and scp to use Password Authentication

ssh -o PubkeyAuthentication=no
scp -o PubkeyAuthentication=no


ssh -o PreferredAuthentications="password"
scp -o PreferredAuthentications="password"

1 Response
Add your response

Or store this information forever for a given host or set of hosts in your ~/.ssh/config.

See how github-keygen does this for your SSH links to Github :

over 1 year ago ·