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连接数据库的超时设置
调整上述三项属性