the5fire

关注Python、Django、Vim、Linux、Web开发、团队管理和互联网--Life is short, we need Python.


ssh连接远程服务器超时配置

作者:the5fire | 标签:     | 发布:2015-02-16 5:26 a.m. | 阅读量: 18922, 18496

终端上ssh到服务器一段时间不操作就会卡住,得关闭窗口。打开新Tab重连,找了下配置,

以下内容写到 ~/.ssh/config 中:

Host *
ServerAliveInterval 120
ConnectTimeout 240
- from the5fire.com
----EOF-----

微信公众号:Python程序员杂谈


其他分类: