ssh连接 时而正常时而错误

firein 2013-10-29 03:13:02
win7的环境上装了openssh,用命令行ssh userId@localhost连接时,时而能连上,
时而出现下面的错误,出现的错误又时而不同。
Read from socket failed: Connection reset by peer
ssh_exchange_identification: Connection closed by remote host

查看了下windows的系统日志,有许多出错的日志。
sshd: PID 3156: fatal: fork of unprivileged child failed
sshd: PID 2116: error: fork: Resource temporarily unavailable

百度了很久也没找到合适的解决方案。
请高人指教
...全文
539 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
firein 2013-10-30
  • 打赏
  • 举报
回复
听说回复一下能顶上去
Liteboy 2013-10-30
  • 打赏
  • 举报
回复
不知道跟selinux或者iptables有没有关系呢?
max_min_ 2013-10-29
  • 打赏
  • 举报
回复
根据错误提示被远程关闭,应该是这边长期没有响应 有没有可能是硬件的问题(网线松动这些啊),或者网络环境不好引起的!
buyong 2013-10-29
  • 打赏
  • 举报
回复
换putty

19,620

社区成员

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

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