Skip to content

Instantly share code, notes, and snippets.

@oleksiilevzhynskyi
Created December 9, 2011 11:05
Show Gist options
  • Save oleksiilevzhynskyi/1451122 to your computer and use it in GitHub Desktop.
Save oleksiilevzhynskyi/1451122 to your computer and use it in GitHub Desktop.
Type Less With SSH Aliases

ssh username@servername.com -p port

vi ~/.ssh/config

Host aliasname
HostName yourdomain.com
Port port
User yourusername
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment