리눅스

ssh 접속시 인증 없애기

랩퍼우26 2018. 11. 9. 17:54
728x90

vi /etc/ssh/sshd_config


46 RSAAuthentication yes

47 PubkeyAuthentication yes

48 AuthorizedKeysFile     .ssh/authorized_keys


모두 샵(#)처리


service sshd restart


------------------------------------------------------


vi /etc/ssh/sshd_config


PasswordAuthentication yes


service sshd restart



728x90