I have many servers and they all end with the same servers.company.net, so for example vded-xx-001.servers.company.net, and was wondering if it is possible to make it so i can just type the vded-xx-001 and have it append the servers.company.net automatically ?
So i would want to type
ssh user@vded-xx-001
and have it actually connect to
ssh user@vded-xx-001.servers.company.net
I have tried setting my DNS-search domain to servers.company.net, in /etc/network/interfaces, but this did not achieve the desired outcome.
Anyone able to point me in the right direction ?
Thanks in advance