Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setting up ubuntu dhcp hostname



On Wed, Aug 30, 2006 at 10:16:47AM -0400, Tuomas Utrecht wrote:
> hi.
> my ssh problem is i can ssh my address 192.168.1.104 but not its name and my
> name tuomas. gboyce helped me but i cant get that to work. its hard to
> remember the number everytime.

Ah. You need name resolution.

The two major methods available are DNS or a hosts file. The
easy one is a hosts file:

On each machine in your local network, add an entry to
/etc/hosts or the equivalent (there's one in Windows, for
instance) like this:

192.168.1.104     tuomas

After that, "ssh tuomas" on that machine should work.

-dsr-


-- 
-. ---   -- --- .-. .   ... . -.-. .-. . - ... 
..-. ..- -.-. -.-   - .... .   -. ... .- 
..-.   ..-   -.-. -.   .-. -..   - .... ...   ..-   -.- -. .--   -.-. -..


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org