ssh客户端避免超时的设置

原创
2016/12/07 16:31
阅读数 738

1、如果是shell登录,避免超时要分别在客户端和服务端设置两个地方

服务端

#vi /etc/ssh/sshd_config
ClientAliveInterval 240
ClientAliveCountMax 2
#service sshd restart

客户端

#vi ~/.ssh/config
Host *
ServerAliveInterval 240
#chmod 600 ~/.ssh/config

2、filezilla的超时设置

将超时秒数设为0或一个合适的值

3、navicat通过ssh连接数据库的超时设置

 

调整上述三项属性

展开阅读全文
加载中

作者的其它热门文章

打赏
0
0 收藏
分享
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部