風和日麗 天氣晴
La Dolce Vita
Tuesday, August 19, 2008
SSH 自動登出
最近裝了
CentOS
5 版後
SSH
閒置一段時間後常常會自動被登出
把下面的設定值加入 /etc/ssh/sshd_config
ClientAliveInterval 300
然後重開 ssh 就不會被那擾人的自動登出困擾著了~
# /etc/init.d/sshd restart
Reference
:
5.4 SSH Timeout help
0 comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment