讓Mac終端保持(SSH)與遠程的鏈接狀態

編輯 /etc/ssh/ssh_config 添加如下設置可解決這個問題:ssh

# 斷開時重試鏈接的次數 ServerAliveCountMax 5 # 每隔5秒自動發送一個空的請求以保持鏈接 ServerAliveInterval 5
相關文章
相關標籤/搜索