ssh连接 时而正常时而错误
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
百度了很久也没找到合适的解决方案。
请高人指教