oops! thanks for the correction ----- Original Message ---- From: Eric Martin <freak4uxxx@gmail.com> To: Worcester Linux Users Group <wlug@mail.wlug.org> Sent: Tuesday, August 12, 2008 8:23:14 AM Subject: Re: [Wlug] Accessing Host Names Mike Leo wrote:
if you add the raw IP and host name to /etc/resolv.conf (or on windows c:\windows\system32\etc\hosts) you can then access via names
----- Original Message ---- From: "kstratton@fastmail.us" <kstratton@fastmail.us> To: Worcester Linux Users Group <wlug@mail.wlug.org>; Worcester Linux Users Group <wlug@mail.wlug.org> Sent: Tuesday, August 12, 2008 7:56:04 AM Subject: [Wlug] Accessing Host Names
I am trying to access the use SSH using host names instead of using the raw IP address. I am currently using DCHP to connect to an inexpensive Linksys router and I can see the host names and their IP address when I view the connections list.
If the machine name (ie CLYDE) is not the host name, please correct me.
Is there some way to extract this information? If so, how? Do I need to run bind to be able to use the host names in place of IP addresses?
Any help would be appreciated.
/etc/resolv.conf is the ips of your name servers. You want to add info to /etc/hosts basically add something like 192.168.0.100 my-ssh-server <other name for it if you want> -- Eric Martin Key fingerprint = D1C4 086E DBB5 C18E 6FDA B215 6A25 7174 A941 3B9F