ssh_exchange_identification: read: connection reset by peer
2011-12-06 17:48
417 查看
今天帮同事解决一个问题,问题是这样的:
远程计算安装的是windows 2008的服务器,服务器上安装了vmware虚拟机,通过桥接方式虚拟的linux。
linux上已经安装并启动了sshd服务,但是在本机使用ssh/sftp客户端都无法成功登录到虚拟的linux。
ssh登录失败后显示的结果为是:ssh_exchange_identification: read: connection reset by peer
失败尝试:
修改sshd_config,修改iptables,修改/etc/hosts.allow和/etc/hosts.deny,yast命令关闭防火墙。
成功尝试:
后来测试发现在虚拟的linux中使用ssh命令连接其他计算机居然也是这个错误,猜测是win2008的配置问题。
我关闭了win2008的防火墙,发现问题依旧。尝试性的取消掉了internet连接共享(不知道是谁开启的)后成功。
希望此博客能帮助一些朋友。
远程计算安装的是windows 2008的服务器,服务器上安装了vmware虚拟机,通过桥接方式虚拟的linux。
linux上已经安装并启动了sshd服务,但是在本机使用ssh/sftp客户端都无法成功登录到虚拟的linux。
ssh登录失败后显示的结果为是:ssh_exchange_identification: read: connection reset by peer
失败尝试:
修改sshd_config,修改iptables,修改/etc/hosts.allow和/etc/hosts.deny,yast命令关闭防火墙。
成功尝试:
后来测试发现在虚拟的linux中使用ssh命令连接其他计算机居然也是这个错误,猜测是win2008的配置问题。
我关闭了win2008的防火墙,发现问题依旧。尝试性的取消掉了internet连接共享(不知道是谁开启的)后成功。
希望此博客能帮助一些朋友。
相关文章推荐
- 由chmod改系统文件权限引ssh登录报ssh_exchange_identification: read: Connection reset by peer无法登陆问题
- linux ssh ssh_exchange_identification: read: Connection reset by peer
- ssh远程报错ssh_exchange_identification: read: Connection reset by peer
- ssh_exchange_identification: read: Connection reset by peer
- 连接Ubuntu 时 出错 ssh_exchange_identification: read: Connection reset by peer
- SSH 总是出现ssh_exchange_identification: read: Connection reset by peer问题的解决方案
- ssh登录报ssh_exchange_identification: read: Connection reset by peer
- ssh_exchange_identification: read: Connection reset by peer 报错解决办法
- ssh_exchange_identification: read: Connection reset by peer
- 由chmod改系统文件权限引ssh登录报ssh_exchange_identification: read: Connection reset by peer无法登陆问题
- ssh_exchange_identification: read: Connection reset by peer
- 登录ssh提示:ssh_exchange_identification: read: Connection reset by peer error
- ssh远程报错ssh_exchange_identification: read: Connection reset by peer
- CentOS7使用ssh不能登录,报错:Read from socket failed: Connection reset by peer
- 【OpenStack】SSH登录虚拟机出现"Read from socket failed: Connection reset by peer"问题的解决办法
- SSH error ( Read from socket failed: Connection reset by peer ) and it's solution
- SSH error ( Read from socket failed: Connection reset by peer ) and it's solution
- ssh Read from socket failed: Connection reset by peer
- SSH 错误解决案例1:Read from socket failed: Connection reset by peer
- 【OpenStack】SSH登录虚拟机出现"Read from socket failed: Connection reset by peer"问题的解决办法