setting up ubuntu dhcp hostname
dsr at tao.merseine.nu
dsr at tao.merseine.nu
Wed Aug 30 10:25:42 EDT 2006
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.
More information about the Discuss
mailing list