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로 접근 가능합니다.
'9. 도서관 > __다. UNIX' 카테고리의 다른 글
[Solaris_Basic] FTP 에서 Root 접근시 login Failed 날 때 어떻게 하나요? (0) | 2008.06.18 |
---|---|
[Solaris_Basic] hme0 가 보이지 않아요. (0) | 2008.06.18 |
[Solaris_Basic] Telnet 으로 Login 하는 방법. (0) | 2008.06.18 |
[Solaris_message] configuring IPv4 interfaces:ifconfig: setifflags: SIOCSLIFFLAGS: interface: Cannot assign requested address interface (0) | 2008.06.18 |
[solaris_Basic] Network 관련 명령어 (0) | 2008.06.18 |
댓글