Code Review
/
common
/
bash_it.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
22d9179
)
Updated the ssh config
author
Robert R Evans
<robert@codewranglers.org>
Mon, 11 Oct 2010 00:54:11 +0000
(17:54 -0700)
committer
Robert R Evans
<robert@codewranglers.org>
Mon, 11 Oct 2010 00:54:11 +0000
(17:54 -0700)
plugins/ssh.plugins.bash
patch
|
blob
|
history
diff --git
a/plugins/ssh.plugins.bash
b/plugins/ssh.plugins.bash
index
504e223
..
872d111
100644
(file)
--- 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