可以在/etc/ssh/ssh_config裡設定一下
ServerAliveInterval 60
此後該系統裡的使用者連接配接SSH時,每60秒會發一個KeepAlive請求,避免被踢。根據實際情況調整ServerAliveInterval即可。
可以在/etc/ssh/ssh_config裡設定一下
ServerAliveInterval 60
此後該系統裡的使用者連接配接SSH時,每60秒會發一個KeepAlive請求,避免被踢。根據實際情況調整ServerAliveInterval即可。