Rey의 Open Source Software 이야기

Archive for 9월, 2011

OpenSSH Client 연결 시 permission denied(publickey) 오류 출력하며 접속 안되는 경우

by Rey on 9.21, 2011, under Linux

요즘 회사에서 아마존 웹 서비스(이하 AWS)를 이용하여 서비스를 구축하고 있다.

그런데 AWS EC2로 Linux를 선택한 경우 경우에 따라 putty나 SSH Client에서 Permission denied(publickey)라는 오류를 출력하며 접속이 안 되는 경우가 있다.

이 경우  OpenSSH Server 설정에 Password 입력이 비 활성화 되어 있어 그런 경우가 있다 이 경우 /etc/ssh/sshd_config(Ubuntu Linux 기준) 파일에서 PasswordAuthentication를 찾아 no를 yes 변경 하면은 Password 입력을 활성화 할 수 있다.

Leave a Comment :, , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!