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
Written by Dmitry Ivanov
Related protips
1 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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#