Just use /etc/host

Ok, not the most interesting post, but here it is.

If you have a machine on your local network or anywhere really, and you ssh to it often, then you can give it a pet name.

/etc/host

127.0.1.199 my-server-name

One day when I forget how to do this I hope I will find this again!!!