Quantcast
Channel: ssh never ask for a password - Ask Ubuntu
Viewing all articles
Browse latest Browse all 6

Answer by Daniel for ssh never ask for a password

$
0
0

Another cause I found. I had:

Host *   PreferredAuthentications publickey

in ~/.ssh/config (copied from another user, thinking it was "preference"). Actually PreferredAuthentications specifies "allowed" methods and order.

Either delete the PreferredAuthentications line or add password

Host *   PreferredAuthentications publickey,password

Note: No space after the comma!


Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>