mac ssh 连接超时

打开终端,进入,/etc/ssh。sudo vi ssh_config

最后一行添加

ServerAliveInterval30

然后保存就可以了

原文地址:https://www.cnblogs.com/yuwensong/p/10079586.html