I am changing different parameters like RSAAuthentication
, PubkeyAuthentication
and PasswordAuthentication
(sudo vim /etc/ssh/sshd_config
) to disable ssh
password authentication to force ssh
login via public key only.
The experiments are adversely affecting many users as they suddenly find "Connection refused" while trying to ssh
to the server. I want to avoid these experiments. Is there any work around to enable public key authentication without touching system files like /etc/ssh/ssd_config
?