Skip to content

Instantly share code, notes, and snippets.

@thomseddon
Created January 16, 2013 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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 name@domain.com ;;
aws) ssh ec2-user@really-long-aws-domain.com -p 2222 ;;
client) ssh client@clientdomain.com ;;
*) echo "Dont know '$1', sorry" ;;
esac
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment