Created
January 16, 2013 13:56
-
-
Save thomseddon/4547288 to your computer and use it in GitHub Desktop.
SSH Shortcut Note: Requires customisation !
This file contains 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
sshs () { | |
case $1 in | |
vps) ssh [email protected] ;; | |
aws) ssh [email protected] -p 2222 ;; | |
client) ssh [email protected] ;; | |
*) echo "Dont know '$1', sorry" ;; | |
esac | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment