ssh KeepAlive 设置
windows下putty竟然不会掉线,而linux 的ssh反而掉线,不能忍呀。故如下:
1.使用SCREEN,但是一般用不到,如果需要多个Terminal 操作可以使用
2.sudo vim /etc/ssh_config
末尾加入
Host * ServerAliveInterval 30 ServerAliveCountMax 2
[1]http://patrickmylund.com/blog/how-to-keep-alive-ssh-sessions/