Make a Shortcut for SSH Connections

Share Tweet

It could be really annoying to reenter the host name again and again if you are working over ssh and the host name is really long (i.e. Using this method, you can set a shorcut for the host name (i.e. mistral) and use it whenever you connect.

Open ~/.ssh/config for editing:

subl ~/.ssh/config

Add your host definition as follows:

Host mistral
    User gbudak
Share Tweet


Please start a discussion down below or send me an email!