27
rated 0 times
[
27]
[
0]
/ answers: 1 / hits: 20478
/ 2 Years ago, mon, september 5, 2022, 5:49:32
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
More From » networking