验证: MAC终端ssh连接服务器防止超时断开连接
验证:MAC终端ssh连接服务器防止超时断开连接
如果远程连接到linux服务器,出现packet_write_wait: Connection to Broken pipe 等超时断开。 可以在客户端电脑,即macbook中添加一个ssh的默认配置。
添加目录:~/.ssh/
添加文件:config
添加内容:ServerAliveInterval 60
cat config
ServerAliveInterval 60
参考文章:
https://www.talkwithtre...
原创
2020-05-20 13:24:28 ·
1330 阅读 ·
0 评论