服务器【Ubuntu】
Jeans_
这个作者很懒,什么都没留下…
展开
-
修改sshd_config解决 xshell 链接 linux 错误 connection closed by foreign host
用xshell连接服务器总是报错 connection closed by foreign host,害的我一个程序每次都跑到一半 解决方案是: sudo vim /etc/ssh/sshd_config 添加两行: ClientAliveInterval 60ClientAliveCountMax 3 sudo /etc/init.d/ssh restart转载 2015-01-19 12:36:26 · 917 阅读 · 0 评论 -
ubuntu 12.04中xshell链接报: Connection closed by foreign host.错误
ubuntu中xshell链接报:Read from socket failed: Connection reset by peer 或者 Connection closed by foreign host.错误解决办法: 该问题出现的原因是/etc/ssh目录下的文件的熟悉被修改了,从新修改回原始状态即可: cd /etc/ssh sudo chmod 644 ./* sudo chmo转载 2015-01-21 12:22:40 · 569 阅读 · 0 评论