[NTLUG:Discuss] OpenSSH - Newbie Question
Bobby Sanders
ssanders at ssvzc.com
Wed Jul 5 14:15:37 CDT 2006
I now believe that putting my router as a name server
in /etc/resolv.conf and allowing ssh access to all computers on the
local network managed by the router did the trick.
Many, many thanks.
Bobby
On Wed, 2006-07-05 at 13:55 -0500, Bobby Sanders wrote:
> I don't really know. :(
>
> Two computers, compt1 and compt2. On each machine these names is are
> aliases for for 127.0.0.1 in /etc/hosts.
>
> The computers are connected to a LinkSys router which connects to my
> cable modem and assigns dynamically assigns IPs to the computers when
> they connect to the router.
>
> In view of your comments on ssh using host resolver code to find the IP
> of a machine, I put the IP of my router as the 1st line
> in /etc/resolv.conf. Still no luck.
>
> Bobby
>
> On Wed, 2006-07-05 at 12:27 -0500, Wayne Walker wrote:
> > Are you using something like dyndns.org to handle these machine-name->
> > randomly-assigned-ips? ssh uses the system host resolver code to find
> > the IP for the machine to connect to.
> >
> > On Wed, Jul 05, 2006 at 12:04:18PM -0500, Bobby Sanders wrote:
> > > I'm making my 1st run at using OpenSSH. I have a router assigning IP
> > > addresses to the various machines. When I do:
> > >
> > > ssh <remote machine name>
> > >
> > > I get "ssh: <remote machine name>: Name or service not known"
> > >
> > > When I do:
> > >
> > > ssh <remote machine's current IP>
> > >
> > > the first time, I get the expected message to authenticate, etc.
> > >
> > > Can I use dynamically assigned IPs with OpenSSH and, if so, how.
> > >
> > > Thanks in advance.
> > >
> > > Bobby Sanders
> > >
> > > _______________________________________________
> > > http://ntlug.pmichaud.com/mailman/listinfo/discuss
> >
>
> _______________________________________________
> http://ntlug.pmichaud.com/mailman/listinfo/discuss
>
>
More information about the Discuss
mailing list