2014-01-20 2 views
0

나는 여기서 hadoop 프레임 워크로 작업하고 있습니다. 이 사이트에서 전에 hadoop을 설치했습니다 : http://ebiquity.umbc.edu/Tutorials/Hadoop/05%20-%20Setup%20SSHD.html. 그것은 나를 위해 이전에 작동합니다. 하지만 지금은 다른 PC에 설치해야합니다. 나는 동일한 단계를 시도했지만 명령 여기연결 종료 127.0.0.1

stucked : ssh를 로컬 호스트 그것은 나에게 오류를 보여줍니다 연결 내가 여러 번 봤하려고

127.0.0.1

에 의해 폐쇄 그러나 그것을 얻을 수 없습니다. 어떤 신체 PLS 도움말 : 내가 윈도우 7에서 Cygwin에서 여기 작업

: 오류 메시지가 여기에 있습니다 : -v localhost를

$ ssh localhost 
The authenticity of host 'localhost (127.0.0.1)' can't be established. 
ECDSA key fingerprint is 37:80:a5:b5:29:29:35:ee:f3:7c:67:28:d0:27:9b:d4. 
Are you sure you want to continue connecting (yes/no)? yes 
Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts. 
Connection closed by 127.0.0.1 

SSH를 사용 후 : 마지막에

ssh -v localhost 
OpenSSH_6.4, OpenSSL 1.0.1f 6 Jan 2014 
debug1: Reading configuration data /etc/ssh_config 
debug1: Connecting to localhost [127.0.0.1] port 22. 
debug1: Connection established. 
debug1: identity file /home/VINOTHINI/.ssh/id_rsa type 1 
debug1: identity file /home/VINOTHINI/.ssh/id_rsa-cert type -1 
debug1: identity file /home/VINOTHINI/.ssh/id_dsa type -1 
debug1: identity file /home/VINOTHINI/.ssh/id_dsa-cert type -1 
debug1: identity file /home/VINOTHINI/.ssh/id_ecdsa type -1 
debug1: identity file /home/VINOTHINI/.ssh/id_ecdsa-cert type -1 
debug1: Enabling compatibility mode for protocol 2.0 
debug1: Local version string SSH-2.0-OpenSSH_6.4 
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.4 
debug1: match: OpenSSH_6.4 pat OpenSSH* 
debug1: SSH2_MSG_KEXINIT sent 
debug1: SSH2_MSG_KEXINIT received 
debug1: kex: server->client aes128-ctr [email protected] none 
debug1: kex: client->server aes128-ctr [email protected] none 
debug1: sending SSH2_MSG_KEX_ECDH_INIT 
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY 
debug1: Server host key: ECDSA 37:80:a5:b5:29:29:35:ee:f3:7c:67:28:d0:27:9b:d4 
debug1: Host 'localhost' is known and matches the ECDSA host key. 
debug1: Found key in /home/VINOTHINI/.ssh/known_hosts:1 
debug1: ssh_ecdsa_verify: signature correct 
debug1: SSH2_MSG_NEWKEYS sent 
debug1: expecting SSH2_MSG_NEWKEYS 
debug1: SSH2_MSG_NEWKEYS received 
debug1: Roaming not allowed by server 
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: Offering RSA public key: /home/VINOTHINI/.ssh/id_rsa 
Connection closed by 127.0.0.1 
+0

verbose 모드에서 실행 해보십시오 :'ssh -v localhost' 그리고 여기에 출력을 게시하십시오. –

+0

질문을 편집하고 거기에 넣으면 훨씬 더 명확 해집니다 –

+0

@Stefano 나는 작동하지 않으려 고 노력했습니다. 그것은 더 많은 디버깅을 보여주고 마지막 연결은 127.0.0.1에 닫힙니다. –

답변

1

내가 그것을 가지고 그것은 내 Avast 안티 바이러스 때문이었습니다. 로컬 서버가 열리는 것을 차단하고있었습니다. 나는 그것을 제거하고 달리고있다. 누군가를 도울 수 있기를 바랍니다.

+0

네, 바이러스 백신 프로그램에 규칙을 추가하십시오. 앞으로는 사용중인 포트를 차단하지 마십시오. – optimus