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 [email protected]
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
search company.net
to /etc/resolv.conf ?/etc/network/interfaces
(using adns-search
option) or in the NetworkManager connection configuration fieldSearch domains
.