[vox-tech] SSH On Home Network

Jim Angstadt vox-tech@lists.lugod.org
Mon, 10 Mar 2003 16:48:06 -0800 (PST)


--- Mike Simons <msimons@moria.simons-clan.com> wrote:
> Jim,
> 
>   Thanks for the output.
> 
> Two observations:
> 
> - You are using the wrong IP address when ssh'ing
> from the rh7.2 box to
>   the rh8.0 box.  rh8.0 is configured for IP address
> 192.168.0.3, and
>   you ran ssh to 192.168.0.11.  Try again with .3 
> ...

Good grief.  You are right.  I can ssh into .3

This is very confusing.  The rh8.0 box was set up with
a static (I thought) address of .11 and I verified
that it had .11 at the time with ifconfig.

Just looking at my router, I see 2 dynamic addresses
and 2 static addresses.  The last time I looked it was
1 and 2.  Also, the win98 box was .3 and now it is .2

The rh7.2 box has kept it's .10 address since the
begining.

I guess that means I messed up the router config.
somehow.  Now, at least, I'll be working on the right
problem.

If anyone has a few tips for working with a Netgear
FR314 router, or a few good links, I would appreciate
the pointers.

Meanwhile I'll be looking at the Netgear site and
doing a google search.

Much thanks to all who helped me get this far.

Jim

> 
> - You are running a firewall on the rh8.0 box... if
> things don't work
>   wit the correct IP address I would try running the
> following command
>   which will wipe out the firewall rules.  Test ssh
> to verify that
>   you can connect between machines if it works you
> know the redhat
>   firewall configuration is messing you up.  If not
> we need to check
>   other things first.
> ===
> iptables -F
> ===

I'll hold off with flushing for now.
[btw, sorry Nino for not seeing the -F option.]

> 
>   So let me know how this goes...
> 
>     TTFN,
>       Mike
> 
> > > On Mon, Mar 10, 2003 at 02:28:44PM -0800, Jim
> > > Angstadt wrote:
> > Chain INPUT (policy ACCEPT 8045 packets, 9116K
> bytes)
> >  pkts bytes target     prot opt in     out    
> source 
> >              destination         
> > 11039 9473K RH-Lokkit-0-50-INPUT  all  --  *     
> *   
> >    0.0.0.0/0            0.0.0.0/0          
> > 
> > Chain RH-Lokkit-0-50-INPUT (1 references)
> >  pkts bytes target     prot opt in     out    
> source 
> >     0     0 ACCEPT     tcp  --  *      *     
> 0.0.0.0/0            0.0.0.0/0          tcp dpt:22
> flags:0x16/0x02 
> 
> >     6   360 REJECT     tcp  --  *      *     
> 0.0.0.0/0            0.0.0.0/0          tcp
> dpts:0:1023 flags:0x16/0x02 reject-with
> icmp-port-unreachable 
> 
> > > ifconfig
> > 
> > eth0      Link encap:Ethernet  HWaddr
> > 00:09:5B:1A:31:9A  
> >           inet addr:192.168.0.3 
> Bcast:192.168.0.255 Mask:255.255.255.0
> >           UP BROADCAST RUNNING MULTICAST  MTU:1500
> 
> > > ====
> > > 
> > >   Also for additional information try a "ssh -v"
> to
> > > connect from your
> > > rh7.2 box and include a ifconfig.
> > 
> > Script started on Mon Mar 10 15:20:06 2003
> > 
> > ssh -v ja@192.168.0.11
> > OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL
> > 0x0090602f
> > debug1: ssh_connect: getuid 500 geteuid 0 anon 1
> > debug1: Connecting to 192.168.0.11 [192.168.0.11]
> port
> > 22.
> > debug1: connect: No route to host
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/