Using public/private key pair instead of password
Open the
/etc/ssh/sshd_config
file.Set the
PasswordAuthentication
option tono
.Restart the SSH server to apply changes.
Last updated
Open the /etc/ssh/sshd_config
file.
Set the PasswordAuthentication
option to no
.
Restart the SSH server to apply changes.
Last updated