减少ssh自动掉线的频率:
运行 sudo vim /etc/ssh/sshd_config
添加
ServerAliveInterval 20
ServerAliveCountMax 999
重启sshd服务:
service sshd restart
减少ssh自动掉线的频率:
运行 sudo vim /etc/ssh/sshd_config
添加
ServerAliveInterval 20
ServerAliveCountMax 999
重启sshd服务:
service sshd restart
发表回复