SSH Config

Creating a ssh connection via your console can be kind of awkward.

$ ssh user@domain.tld
Password: ......
Last login: Thu Oct 23 21:06:01 2014 from ip-....

This can be way easier. Just create a ssh key with ssh-keygen grab your public key and transfer it to your server.

Then create a file called config in your ~/.ssh folder.

Host liplex                     # Host name
    HostName domain.tld         # Domain
    User liplex                 # User
    IdentityFile ~/.ssh/liplex  # Path to your private key

After this you can login via:

$ ssh liplex