Created
August 18, 2012 18:36
-
-
Save chzealot/3388926 to your computer and use it in GitHub Desktop.
ssh配置,普通用户权限就可以;开启ForwardAgent,方便中转;每隔30s发送NOOP指令,连续6次失败则中止,保持连接,避免掉线;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat ~/.ssh/config | |
Host * | |
ServerAliveInterval 30 | |
ServerAliveCountMax 6 | |
ForwardAgent yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment