I am new on unix systems, I want to ask about the hosts file that is in /etc/hosts
what does used for ??
also I want to ask that when connect using ssh=> I wrote on hosts file the following
x.x.x.x (server IP) server.hostname
and when use ssh root@server.hostname
it says that Unable to resolve host 'server.hostname': Connection failed
.
~/.ssh/config
file instead – steeldriver Sep 13 '15 at 14:04