驗證: MAC終端ssh連接服務器防止超時斷開連接
如果遠程連接到linux服務器,出現 packet_write_wait: Connection to Broken pipe 等超時斷開。 可以在客戶端電腦,即macbook中添加一個ssh的默認配置。
添加目錄: ~/.ssh/
添加文件:config
添加內容:ServerAliveInterval 60
cat config
ServerAliveInterval 60
參考文章:
https://www.talkwithtrend.com/Question/225451-1370171
https://blog.csdn.net/u013511989/article/details/79972435