Skip to content

Instantly share code, notes, and snippets.

@thomseddon
Created January 16, 2013 13:56
Show Gist options
  • Save thomseddon/4547288 to your computer and use it in GitHub Desktop.
Save thomseddon/4547288 to your computer and use it in GitHub Desktop.
SSH Shortcut Note: Requires customisation !
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