求教 cygwin ssh 登录报错 Connection reset by peer

peijiping 2014-01-02 09:54:19
ssh 登录时出现如下情况
$ ssh localhost -vvv
OpenSSH_6.4, OpenSSL 1.0.1e 11 Feb 2013
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/Administrator/.ssh/id_rsa" as a RSA1 public key
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
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.4
ssh_exchange_identification: read: Connection reset by peer

--------------------------------------------------------------
这个是登录时 -vvv 跟踪的所有信息,我重新配置过ssh,cygwin都卸载了重新安装过。但是都不管用,求教个位高手指点一下!
...全文
7297 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
peijiping 2014-12-01
  • 打赏
  • 举报
回复
亲们,问题最后没有解决,我改用LINUX虚拟机了
隔壁老身 2014-11-16
  • 打赏
  • 举报
回复
ssh_exchange_identification: read: Connection reset by peer
[root@localhost ~]#
我也是一样,怎么办?
luotaijia 2014-08-24
  • 打赏
  • 举报
回复
楼主问题解决了吗,我也遇到同样的问题了
Liteboy 2014-01-19
  • 打赏
  • 举报
回复
我之前遇到过的几种可能有 1、sshd_config配置参数LoginGraceTime配置为600s???? 2、IP地址冲突也会出现这种情况 3、如果是在windows下跑的虚拟机,请关闭internet连接共享
peijiping 2014-01-05
  • 打赏
  • 举报
回复
帖子加分了,请大神们帮忙!
海兰 2014-01-03
  • 打赏
  • 举报
回复
嗯,先试试看
peijiping 2014-01-02
  • 打赏
  • 举报
回复
引用 1 楼 s060403072 的回复:
[quote=引用 楼主 peijiping 的回复:] ssh 登录时出现如下情况 $ ssh localhost -vvv OpenSSH_6.4, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading configuration data /etc/ssh_config debug2: ssh_connect: needpriv 0 debug1: Connecting to localhost [127.0.0.1] port 22. debug1: Connection established. debug3: Incorrect RSA1 identifier debug3: Could not load "/home/Administrator/.ssh/id_rsa" as a RSA1 public key 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 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.4 ssh_exchange_identification: read: Connection reset by peer -------------------------------------------------------------- 这个是登录时 -vvv 跟踪的所有信息,我重新配置过ssh,cygwin都卸载了重新安装过。但是都不管用,求教个位高手指点一下!
出现的Connection reset by peer: 原因可能是多方面的,服务器的并发连接数超过了其承载量,服务器会将其中一些连接Down掉;客户断开了连接,而服务器还在给客户端发送数据;还有可能是防火墙的问题。 [/quote]我先试试吧,调一下服务器连接数看看,不过我是本机运行,没有什么机器连接,防火墙也关掉了!
海兰 2014-01-02
  • 打赏
  • 举报
回复
引用 楼主 peijiping 的回复:
ssh 登录时出现如下情况 $ ssh localhost -vvv OpenSSH_6.4, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading configuration data /etc/ssh_config debug2: ssh_connect: needpriv 0 debug1: Connecting to localhost [127.0.0.1] port 22. debug1: Connection established. debug3: Incorrect RSA1 identifier debug3: Could not load "/home/Administrator/.ssh/id_rsa" as a RSA1 public key 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 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.4 ssh_exchange_identification: read: Connection reset by peer -------------------------------------------------------------- 这个是登录时 -vvv 跟踪的所有信息,我重新配置过ssh,cygwin都卸载了重新安装过。但是都不管用,求教个位高手指点一下!
出现的Connection reset by peer: 原因可能是多方面的,服务器的并发连接数超过了其承载量,服务器会将其中一些连接Down掉;客户断开了连接,而服务器还在给客户端发送数据;还有可能是防火墙的问题。

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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