gnjbsw
Last Updated: February 25, 2016
·
11.06K
· ivadim
1273b90621febc7ea743bc2c3c11b1c8

Force ssh and scp to use Password Authentication

ssh -o PubkeyAuthentication=no user@example.com
scp -o PubkeyAuthentication=no user@example.com

or

ssh -o PreferredAuthentications="password" user@example.com
scp -o PreferredAuthentications="password" user@example.com
Say Thanks
Respond

1 Response
Add your response

9496
70d9b050bfe39350c234d710fadfcd39

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 ·
Filed Under