Here at home I'm using my router's dhcp server to assign IP addresses.
Each time I want to ssh into a box I have to so an nmap of the network to get the IP address, since they tend to change quite often.
I was thinking of using hostnames to ssh into the different boxen so I added a hostname to /etc/hosts and to /etc/sysconfig/network and it succesfully shows the correct hostname when querying with # hostname.
How would I go with ssh now since ssh followed by the hostname only results in
# ssh: Hostname: Name or service not known


