[vox-tech] SSH On Home Network

Mike Simons vox-tech@lists.lugod.org
Mon, 10 Mar 2003 19:06:03 -0500


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  ...

- 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
===

  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