IT Curation 자세히보기

OS/centOS

centos_ssh 비밀번호 접속 방식 root차단 설정

icf_ 2022. 8. 31. 14:51

#vim /etc/ssh/sshd_config

PermitRootLogin yes의 주석해제 및 no변경

 

# systemctl restart sshd 를 해서 설정 적용.

728x90