Last Updated: February 25, 2016
·
28.87K
· ivadim

Force ssh and scp to use Password Authentication

ssh -o PubkeyAuthentication=no [email protected]
scp -o PubkeyAuthentication=no [email protected]

or

ssh -o PreferredAuthentications="password" [email protected]
scp -o PreferredAuthentications="password" [email protected]

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 : https://github.com/dolmen/github-keygen

over 1 year ago ·