Chinaunix首页 | 论坛 | 博客
  • 博客访问: 386292
  • 博文数量: 39
  • 博客积分: 1771
  • 博客等级: 上尉
  • 技术积分: 1231
  • 用 户 组: 普通用户
  • 注册时间: 2005-05-01 14:21
文章分类

全部博文(39)

文章存档

2013年(1)

2012年(4)

2011年(16)

2010年(6)

2009年(12)

分类: LINUX

2011-09-06 11:25:35

After inactive for several minutes, ssh client will freeze and I have to kill the process and reconnect to the server. It's quiet annoying.

After googling the issue, it is solved by inserting one line
  1. ServerAliveInterval 10
to /etc/ssh/ssh_config or ~/.ssh/config file.

I think this configuration tells ssh client to send keep alive message to server every 10 seconds, as a result ssh client does not freeze any more.
阅读(1109) | 评论(0) | 转发(0) |
0

上一篇:ubuntu tips

下一篇:Optimizing Memcpy improves speed

给主人留下些什么吧!~~