Since yesterday, each time I try to connect to an ssh server, I got asked for my password. What should I do to make SSH not ask for my password each time.
Ssh – Why SSH is asking for the private key password each time
passwordssh
passwordssh
Since yesterday, each time I try to connect to an ssh server, I got asked for my password. What should I do to make SSH not ask for my password each time.
Best Answer
Put your public key in
hostnachine:~/.ssh/authorized_keys
and make sure it has the appropriate permissions -- chmod 600. See the man page, section AUTHENTICATION, for more details. Note that sshd maybe configured to disallow this method of login although I cannot fathom why.