how to disable ssh key login in ec2

edit /etc/ssh/sshd_config

passwordauthentication no to yes

pubkeyauthentication yes to no

save and restart the sshd

Post a Comment

0 Comments