Obelich
7/2/2018 - 6:52 PM

How to Disable Password Authentication for SSH

How to Disable Password Authentication for SSH

vim /etc/ssh/sshd_config 
 
 ChallengeResponseAuthentication no
PasswordAuthentication no
UsePAM no 

 /etc/init.d/sshd restart