9. 도서관/__다. UNIX

[Solaris_Basic] ssh로 접속 가능하게 해주세요. <Permission denied, please >

행복 금융 2008. 6. 18.




I set PermitRootLogin in /etc/ssh/sshd_config to 'forced-commands-only', as 
described in sshd_config(5), but when trying to log in (with public key
auth), I'm asked for a password and not allowed in ("Permission denied, please 
try again.").




위에 답변과 같이 ssh 설정 파일을 수정해 주시면 Permission denied, please try again 
이라는 글을 보지 않아도 됩니다.















1. /etc/ssh/sshd_config 라는 파일을 편집기로 열어 주세요.
2. PermitRootLogin no 라는 부분을 찾아 no를 yes 수정한 뒤 저장하고 나옵니다.
3. sshd를 restart 해줍니다. ex> /etc/init.d/sshd restart 
.

이렇게 하면 ssh로 접근 가능합니다.







































댓글

💲 추천 글