windows下搭建hadoop集群,ssh localhost都没有问题,但无法互联,是什么原因?
在windows下搭建hadoop集群(两台机器,分别是作为master的XP和slave的win7),cygwin和hadoop均已配置
现在xp无法通过ssh连接win7
信息如下:
$ ssh -v think@192.168.84.1
OpenSSH_6.1p1, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to 192.168.84.1 [192.168.84.1] port 22.
debug1: Connection established.
debug1: identity file /home/Administrator/.ssh/id_rsa type -1
debug1: identity file /home/Administrator/.ssh/id_rsa-cert type -1
debug1: identity file /home/Administrator/.ssh/id_dsa type -1
debug1: identity file /home/Administrator/.ssh/id_dsa-cert type -1
debug1: identity file /home/Administrator/.ssh/id_ecdsa type -1
debug1: identity file /home/Administrator/.ssh/id_ecdsa-cert type -1
ssh_exchange_identification: Connection closed by remote host
但win7的可以连上xp
$ ssh -v Administrator@192.168.84.50
OpenSSH_6.2p1, OpenSSL 1.0.1e 11 Feb 2013
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to 192.168.84.50 [192.168.84.50] port 22.
debug1: Connection established.
debug1: identity file /home/think/.ssh/id_rsa type 1 (上面是-1)
debug1: identity file /home/think/.ssh/id_rsa-cert type -1
debug1: identity file /home/think/.ssh/id_dsa type -1
debug1: identity file /home/think/.ssh/id_dsa-cert type -1
debug1: identity file /home/think/.ssh/id_ecdsa type -1
debug1: identity file /home/think/.ssh/id_ecdsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0--好像问题出在这里?
……
debug1: Next authentication method: password
不知道哪位有相关的经验可以帮忙解决一下?