SSH 自動登出

最近裝了 CentOS 5 版後
SSH 閒置一段時間後常常會自動被登出
把下面的設定值加入 /etc/ssh/sshd_config

ClientAliveInterval 300

然後重開 ssh 就不會被那擾人的自動登出困擾著了~
# /etc/init.d/sshd restart


Reference5.4 SSH Timeout help

Comments

Popular posts from this blog

CentOS7 如何新增/移除 Rich Rule for firewalld

mac 安裝 mtr

Howto use Postman test Cors