ssh로 비번없이 로그인하기
리눅스 2008/06/14 17:54
서버쪽에서
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'
끝
이렇게 했는데도 안되는경우....
서버쪽에서 /etc/ssh/blacklist.*** 이런 파일이 있다. 이걸 없애버리면 된다.
이것때문에 몇시간 삽질을 했다. ㅠㅠㅠㅠ
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'
끝
이렇게 했는데도 안되는경우....
서버쪽에서 /etc/ssh/blacklist.*** 이런 파일이 있다. 이걸 없애버리면 된다.
이것때문에 몇시간 삽질을 했다. ㅠㅠㅠㅠ
'리눅스' 카테고리의 다른 글
| vim에서 검색결과 하이라이트 하기 (0) | 2008/08/15 |
|---|---|
| ssh로 비번없이 로그인하기 (0) | 2008/06/14 |


