gpt4 book ai didi

hadoop - 连接已被127.0.0.1关闭

转载 作者:行者123 更新时间:2023-12-02 20:07:35 26 4
gpt4 key购买 nike

我在这里使用hadoop框架。我之前从以下站点安装了hadoop:http://ebiquity.umbc.edu/Tutorials/Hadoop/05%20-%20Setup%20SSHD.html。它对我有用。但是现在我必须将其安装在另一台PC中。我尝试了相同的步骤但被卡在这里

在命令:ssh localhost
它显示了我错误:连接被127.0.0.1关闭

我曾尝试过Google多次,但无法获得。任何 body 都可以帮助:

我在Windows 7中使用cygwin在这里工作:
错误提示在这里:

$ 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 -v localhost后:
 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 hmac-md5-etm@openssh.com none
debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com 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

最佳答案

终于我明白了,这是因为我的Avast防病毒软件。它阻止了本地服务器打开。我将其卸载并开始运行。愿它会帮助某人。

关于hadoop - 连接已被127.0.0.1关闭,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21236126/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com