PDA

View Full Version : [ubuntu] host abbreviation



seattle vic
November 15th, 2009, 02:44 AM
Is there a way to set host names in Ubuntu so I don't have to type in ssh 192.168.1.102 all the time? Rather ssh server? I know you can do this in windows via a file called hosts, but that file has a different meaning in linux.

Thanks in advance.

diesch
November 15th, 2009, 02:49 AM
Using /etc/hosts is the most simple way