commit | 10680fe8110d021c6267626a0214c65061460f05 | [log] [tgz] |
---|---|---|
author | Robert R Evans <robert@codewranglers.org> | 周日 10月 10 17:56:26 2010 -0700 |
committer | Robert R Evans <robert@codewranglers.org> | 周日 10月 10 17:56:26 2010 -0700 |
tree | 54e9200bafe57f9118da15102a66678248644a3e | |
parent | e1c063ff0aa495452fc4798c7dea900eaf8c07b2 [diff] | |
parent | b4257a46db828089f856add514f54f61eec4bcfd [diff] |
Merge branch 'master' of http://github.com/Sirupsen/bash-it into Sirupsen-master
diff --git a/plugins/ssh.plugins.bash b/plugins/ssh.plugins.bash index 504e223..872d111 100644 --- a/plugins/ssh.plugins.bash +++ b/plugins/ssh.plugins.bash
@@ -1,5 +1,5 @@ #!/bin/bash function add_ssh() { - echo -en "\n\nHost $1\n HostName $2\n User $3" >> ~/.ssh/config + echo -en "\n\nHost $1\n HostName $2\n User $3\n ServerAliveInterval 30\n ServerAliveCountMax 120" >> ~/.ssh/config } \ No newline at end of file