Linux/설치 및 셋팅

[Ubuntu 22.04] SSH 비밀번호 인증 설정이 되지 않을때 (PasswordAuthentication no not working)

zosystem 2023. 8. 22. 20:10
반응형

/etc/ssh/sshd_config 파일에서 비밀번호 인증설정을 해재(no)했지만 계속 접속이 가능하다면

sshd_config파일에 보면 첫줄에  Include /etc/ssh/sshd_config.d/*.conf 이렇게 포함시킵니다.

 

nano /etc/ssh/sshd_config.d/50-cloud-init.conf 

PasswordAuthentication설정이 있는지 확인하고 수정하시면 됩니다.