ssh 접속에러좀 봐주세요..

kimes의 이미지

Quote:
OpenSSH_4.8.1p1 Debian-8.sarge.4, OpenSSL 0.9.7e 25 Oct 2004
debug1: Reading configuration data /etc/ssh/ssh_config

debug1: Connecting to localhost [127.0.0.1] port 22.

debug1: Connection established.

debug1: identity file /home/btk/.ssh/identity type -1

debug1: identity file /home/btk/.ssh/id_rsa type -1

debug1: identity file /home/btk/.ssh/id_dsa type -1

debug1: Remote protocol version 2.0, remote software version OpenSSH_3.8.1p1 Debian-8.sarge.4

debug1: match: OpenSSH_3.8.1p1 Debian-8.sarge.4 pat OpenSSH*

debug1: Enabling compatibility mode for protocol 2.0

debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.4

debug1: SSH2_MSG_KEXINIT sent

debug1: SSH2_MSG_KEXINIT received

debug1: kex: server->client aes128-cbc hmac-md5 none

debug1: kex: client->server aes128-cbc hmac-md5 none

debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent

debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP

debug1: SSH2_MSG_KEX_DH_GEX_INIT sent

debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY

debug1: Host 'localhost' is known and matches the RSA host key.

debug1: Found key in /home/btk/.ssh/known_hosts:1

debug1: ssh_rsa_verify: signature correct

debug1: SSH2_MSG_NEWKEYS sent

debug1: expecting SSH2_MSG_NEWKEYS

debug1: SSH2_MSG_NEWKEYS received

debug1: SSH2_MSG_SERVICE_REQUEST sent

debug1: SSH2_MSG_SERVICE_ACCEPT received

debug1: Authentications that can continue: publickey,password,keyboard-interactive

debug1: Next authentication method: publickey

debug1: Trying private key: /home/btk/.ssh/identity

debug1: Trying private key: /home/btk/.ssh/id_rsa

debug1: Trying private key: /home/btk/.ssh/id_dsa

debug1: Next authentication method: keyboard-interactive

Connection closed by 127.0.0.1

도데체 마지막의 왜 closed가 되는지 모르겠습니다.

ssh root@localhost 로 하고 비번도

제대로 넣었거든요..

데비안 환경입니다.

warpdory의 이미지

root 로그인이 막혀있는 것 같은데요 ?


---------
귓가에 햇살을 받으며 석양까지 행복한 여행을...
웃으며 떠나갔던 것처럼 미소를 띠고 돌아와 마침내 평안하기를...
- 엘프의 인사, 드래곤 라자, 이영도

즐겁게 놀아보자.

kimes의 이미지

답변 감사드립니다만...

모든 계정에서도 똑같은 결과가 나옵니다.

connection closed by ... 라고요..

접속하자마자요... --;;

익명 사용자의 이미지

/etc/ssh/sshd_conf 화일좀 볼수 있을까요?

jachin의 이미지

이전에 키와 충돌하는 것 같습니다만...

홈 디렉터리 안의 .ssh 디렉터리가 있으시면 그 안의 내용을 일단 싹 지워보세요.

현재 구축하신 서버에 접속은 되는데 인증방식을 모두 시도해 보다가 끝나네요.

아마도 이미 캐쉬된 인증키가 있어서 접속이 안되는 것입니다.

새로운 인증키를 받기 위해선 일단 .ssh 안의 내용을 모두 지우세요.

그리고 다시 접속해 보시길...