Last Updated: February 25, 2016
·
719
· Chip Castle

Do you manage a lot of servers with ssh?

If you have a lot of servers that you manage and you can't remember all of the IP addresses, add a configuration like this to ~/.ssh/config:

Host macbook
HostName 192.168.1.50
User chip

Substitute the values for Host, HostName and User to suit your specific needs.

Logging in is now as easy as this:

ssh macbook

For more UNIX tips, please check out
Learning the UNIX Command Line.

Enjoy,
Chip