Add "add_ssh" to add a new ssh host to the ~/.ssh/config file.

pull/8/head
Robert R Evans 2010-10-10 09:45:32 -07:00
parent 017fc1d402
commit 22d9179ff7
2 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,8 @@
#!/bin/bash
# Aliases
alias ga='git add'
alias gall='git add .'
alias g='git'
alias get='git'
alias gst='git status'

View File

@ -0,0 +1,5 @@
#!/bin/bash
function add_ssh() {
echo -en "\n\nHost $1\n HostName $2\n User $3" >> ~/.ssh/config
}