修改sshd_config解决 xshell 链接 linux 错误 connection closed by foreign host
来源:互联网 发布:阿里云虚拟主机装软件 编辑:程序博客网 时间:2024/04/28 13:49
用xshell连接服务器总是报错 connection closed by foreign host,害的我一个程序每次都跑到一半
解决方案是:
sudo vim /etc/ssh/sshd_config
添加两行:
ClientAliveInterval 60
ClientAliveCountMax 3
sudo /etc/init.d/ssh restart
0 0
- 修改sshd_config解决 xshell 链接 linux 错误 connection closed by foreign host
- 修改sshd_config解决 xshell 链接 linux 错误 connection closed by foreign host
- 修改sshd_config解决 xshell 链接 linux 错误 connection closed by foreign host
- ubuntu 12.04中xshell链接报: Connection closed by foreign host.错误
- ubuntu 12.04中xshell链接报: Connection closed by foreign host.错误
- Xshell连接CentOS 6.9掉线 Connection closed by foreign host
- ubuntu xshell报错解决方法: Connection closed by foreign host.错误
- Connection closed by foreign host.
- Connection closed by foreign host.
- Connection closed by foreign host.
- Connection closed by foreign host.
- Connection closed by foreign host
- Connection closed by foreign host
- Connection closed by foreign host
- Connection closed by foreign host
- Ubuntu 连接错误 Connection closed by foreign host
- Linux登录报错-Connection closed by foreign host
- Connection closed by foreign host问题解决
- 部署thinkphp时遇到只显示主页访问其他页面404的错误
- 每隔一定时间更换图片<多图片模拟gif效果>
- Eclipse中配置WebDriver
- VIM列编辑的使用方法
- LLC学习笔记1
- 修改sshd_config解决 xshell 链接 linux 错误 connection closed by foreign host
- 13_综合技术
- 计算机网络常见面试题总结
- JS判断键盘是否按的回车键并触发指定按钮点击操作
- doctype有几种?
- Java基础学习总结(52)——Liunx系统Centos上搭建Java开发环境
- ie浏览器地址栏中文参数提交服务器乱码分析
- linux/unix下telnet提示Escape character is '^]'的意义
- 基于Netty4的HttpServer和HttpClient的简单实现