ssh連接后, 過一段時(shí)間自動(dòng)斷開 編輯~/.ssh/config(沒有則新建) vi ~/.ssh/config 填入以下內(nèi)容 ServerAliveInterval 30