Possible Duplicate:
Connect to Linux by name rather than IP
When I login I always do:
ssh myuser@111.111.111.111
Is it possible to do something like:
ssh myuser@server1
I would like to use a name, not an IP address, is it possible?
When I login I always do:
Is it possible to do something like:
I would like to use a name, not an IP address, is it possible? | ||||
feedback
|
This question came from our site for professional and enthusiast programmers.
This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.
|
You can add a line to your ssh
This could be considered a little neater than editing the | |||||
feedback
|
|
You can do that by adding the following line to the
below the line
You need to be root to be able to do that. | |||
|
feedback
|