On Sat, 29 Jul 2006 23:16:13 -0500
Paul Stejskal <[EMAIL PROTECTED]> wrote:

> JoeHill wrote:
> > The 'test' machines are piling up, and I would like to be able to SSH in via
> > hostnames rather than IP's (easier to remember, eh?).
> >
> > I'd go with Google, but I'm not even sure what to search for or what it is I
> > need to configure and on which box.
> >
> > I have one machine that is my 'server', can I set up something on there to
> > resolve hostnames to IP's?
> >
> > Any pointers appreciated. I don't mind doing the work, I just don't know 
> > where
> > to start :-)
> >
> > Thanks!
> >
> >   
> You're wanting DNS. I have no clue beyond that. You might play with the 
> hosts file if Linux has one or set up a DNS server for internal stuff. 
> Sorry I can't help more.

Joe

This is the setup on my LAN; 

all machines connect through a router

One each box /etc/hosts contains entries for every machine including localhost,
like so:

192.168.2.4     TheMainMan
127.0.0.1       localhost
192.168.2.81    canopus
192.168.2.75    menkalinan

Then ssh [EMAIL PROTECTED] from canopus for instance, supply the password and 
bingo.
scp and sftp work as well.  Note that all machines have equal weight and no 
firewall
running.  On older installations a protocol level needed to be specified but 
that
requirement seems to have disappeared.  Don't know what that meant anyway.

Hope this helps

Len

____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to