Merged in mrman208's additions.

This commit is contained in:
Robert R Evans
2010-10-14 15:11:02 -07:00
parent 13abb34b64
commit 468c0c5ce9
2 changed files with 2 additions and 2 deletions

View File

@@ -4,6 +4,6 @@ function add_ssh() {
echo -en "\n\nHost $1\n HostName $2\n User $3\n ServerAliveInterval 30\n ServerAliveCountMax 120" >> ~/.ssh/config
}
function sshosts() {
function sshlist() {
awk '$1 ~ /Host$/ { print $2 }' ~/.ssh/config
}