ssh一段时间不操作卡死解决
痛点
使用ssh连接服务器,闲置一会shell就会卡死,很不方便。
解决
修改$HOME/.ssh/config添加
Host *
ServerAliveInterval 60
每分钟发送保持连接请求,对所有host生效。
使用ssh连接服务器,闲置一会shell就会卡死,很不方便。
修改$HOME/.ssh/config添加
Host *
ServerAliveInterval 60
每分钟发送保持连接请求,对所有host生效。