windows下搭建hadoop集群,ssh localhost都没有问题,但无法互联,是什么原因?

LiuMieMie_LY 2013-05-17 09:22:04
在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

不知道哪位有相关的经验可以帮忙解决一下?
...全文
595 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
JJZHK 2013-07-09
  • 打赏
  • 举报
回复
用虚拟机模拟装CentOS或者Ubuntu搞吧。win真的只能做开发平台,不适合部署hadoop。
allenpony 2013-06-14
  • 打赏
  • 举报
回复
win只能做开发平台的。你如果用cygwin,后面你会发现hive会悲剧,因为我了解到的0.10.0版本都不支持cygwin。没刀片的话可以使用ubuntu,安装到笔记本上都行。
LiuMieMie_LY 2013-05-30
  • 打赏
  • 举报
回复
引用 1 楼 tntzbzc 的回复:
在多台物理机上接通CYGWIN真心麻烦 如果只是跑测试,建议在换成VMware Workstation
后来尝试在VMware下连……结果还是一样 估计是电脑的问题 都统一系统 统一各种软件的版本了…… 环境问题,说多了都是泪啊 Thanks all the same.
撸大湿 2013-05-19
  • 打赏
  • 举报
回复
在多台物理机上接通CYGWIN真心麻烦 如果只是跑测试,建议在换成VMware Workstation

20,808

社区成员

发帖
与我相关
我的任务
社区描述
Hadoop生态大数据交流社区,致力于有Hadoop,hive,Spark,Hbase,Flink,ClickHouse,Kafka,数据仓库,大数据集群运维技术分享和交流等。致力于收集优质的博客
社区管理员
  • 分布式计算/Hadoop社区
  • 涤生大数据
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧