sajad torkamani

Why aliases?

Instead of remembering a username and IP and doing something like:

ssh jim@47.123.32.34

You can use aliases to instead do:

ssh prod

Okay, how?

Add an entry to your ~/.ssh/config:

Host production
  Hostname 47.123.32.34
  User jim

Tagged: SSH

Leave a comment

Your email address will not be published. Required fields are marked *