Connect to Linux by name rather than IP
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?
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
You can add a line to your ssh
This could be considered a little neater than editing the
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.