sshd 服务器设置
vim /etc/ssh/sshd_config

ClientAliveInterval 60
127 ClientAliveCountMax 1

mac 设置
vim /etc/ssh/ssh_config

TCPKeepAlive yes
ServerAliveCountMax 5
ServerAliveInterval 20

Comments are closed.

Post Navigation