Managing multiple ssh connections

Using ~/.ssh/config to manage several ssh connections

One of the downsides when relying a lot on ssh to connect to several different machines is certainly having to remember all the information you need: port number, IP address, username …or so you thought!

On Linux systems you can just create your ~/.ssh/config file and manage your connections very easily.

Host myServer
    Port 3000
    User Mickey

This way you can add several ssh connections and then connect to the servers very easily just by typing ssh myServer without having to specify all the other information.