In your ssh config is it possible to have one host entry for multiple machines on the same domain

Solution 1:

Instead of doing this with ssh, use the /etc/resolv.conf file

Add a line saying

search mydomain.com

What this does is wherever you don't enter a full domain name, it will use this suffix to work out the full name, effectively appending .mydomain.com to ci when you do ssh ci.