SSH Root 접속 제한

#vi /etc/ssh/sshd_config

/etc/ssh/sshd_config 파일을 열면

#PermitRootLogin yes 라는 부분을
PermitRootLogin no 로 고칩니다.
앞에 주석인 #을 지우고 yes를 no로 . . .


생략
.
#LoginGraceTime 2m

PermitRootLogin no
#StrictModes yes
#MaxAuthTries 6
.
생략


재시작 하고 나서부터 적용 되더군요

2008/07/23 19:01 2008/07/23 19:01
Posted by x2chi

트랙백 보낼 주소 : http://www.x2chi.com/trackback/325

  1. ssh로 비번없이 로그인하기

    2008/08/07 11:22
    삭제
    서버쪽에서 1. 포트설정: /etc/ssh/sshd_config #port 220 2. 서비스 재시작 /etc/init.d/ssh restart 클라이언트 1. ssh-keygen 2. ssh-copy-id -i .ssh/id_rsa.pub '-p 220 server_user_name@server_ip' 끝 이렇게 했는데도 안되는경우..

댓글을 달아주세요


Total : 867767
Today : 682 Yesterday : 711
BLOG main image
Leading the Web to its Full Potential... (웹의 모든 잠재력을 이끌어 내기 위하여...) by x2chi

카테고리

전체 (668)
내 이야기 (199)
관심거리들 (154)
웹&컴퓨팅 (197)
(주) 프로홈 (21)
웨딩정보 (88)
건강 (7)
Creative Commons License

이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.