ssh客户端不操作自动断开

vi  /etc/ssh/sshd_config 

客户端不操作自动断开设置
TCPKeepAlive yes
ClientAliveInterval 180
ClientAliveCountMax 20

service sshd restart

猜你喜欢

转载自supben.iteye.com/blog/2238499