[vox-tech] SSH On Home Network

Jim Angstadt vox-tech@lists.lugod.org
Mon, 10 Mar 2003 14:56:12 -0800 (PST)


--- ME <dugan@passwall.com> wrote:
> With only the data you have provided, it looks more
> like the interface is
> down, or an interface is improperly configured.
> 
> Nothing can ping it.
> Nothing can ssh to it.
> 
> If it cannot ping others, and/or canont ssh to
> others, this further adds
> to this as being more likely. (Pinging yourself is
> not a sufficient test
> for use of the correct interface, but it can be
> useful in testing firewall
> rules. I mean here, to ping other boxes from the RH8
> one.
> 

Hi ME,

The rh8.0 box can ssh and ping to both other boxes.

> Things to do:
> 1) Check to see if the link light is on for the
> interface.

The light is on and green.

> 2) If it is on, are there multiple NIC interfaces?
> if so, make sure you
> are using the same physical NIC you configured.
> (Some systems come with
> integrated NICs and allow for extra NIC too.
> 

Only one NIC.

> When you type:
> # ifconfig
> does it list your "ethN" interface where "N" is a
> number greater than or
> equal to zero?

It lists eth0 and lo.

> How about:
> # route -N
> Does it list anything other than loopback
> (127.0.0.1) ?

Yes, there are 3 rows:
192.168.0.0
127.0.0.0
0.0.0.0 

> If you can ssh from this RH 8 box to others, then
> look into firewall rules
> and limits from filters.

I can ssh to other boxes from my rh8.0 box.

Could you give me a starting point for this, please. 
I'm totally ignorant on firewalls and filters.

> 
> -ME
> 
> 
> Jim Angstadt said:
> > I've added a Red Hat 8.0 box to my home network. 
> It
> > does not accept ssh or ping from the other boxes -
> > rh7.2 and win98 - on my home network.  I want my
> linux
> > boxes to serve ssh to the other boxes on my
> network.
> >
> > On the rh8.0 box, when I run:
> >    netstat -at | grep ssh
> > it shows LISTEN.
> >
> > Immediately after failed ssh attempts, I did not
> find
> > any error messages in /var/log/messages.
> >
> > Below is a summary of my attempts to connect
> between
> > various boxes.  What should I do?
> >
> > Thanks,
> > Jim
> >
> > # ping between boxes on home network
> >
> > ping from win98 to rh7.2:	yes
> > ping from win98 to rh8.0:	Request timed out.
> > ping from win98 to win98:	yes
> > ping from win98 to lugod:	yes
> >
> > ping from rh7.2 to rh8.0:	Destination Host
> Unreachable
> > ping from rh7.2 to win98:	yes
> > ping from rh7.2 to rh7.2:	yes
> > ping from rh7.2 to lugod:	yes
> >
> > ping from rh8.0 to rh7.2:	yes
> > ping from rh8.0 to win98:	yes
> > ping from rh8.0 to rh8.0:	Destination Host
> Unreachable
> > ping from rh8.0 to lugod:	yes
> >
> > conclusion:  rh8.0 box does not serve ping.
> >
> >
> > # ssh between boxes on home network
> >
> > ssh from win98 to rh7.2:	yes, using WinSCP2
> > ssh from win98 to rh8.0:	no, using WinSCP2
> > ssh from win98 to other:	yes, using WinSCP2.
> (other =
> > friends server)
> >
> > ssh from rh7.2 to rh8.0:	Secure connection to
> > 192.168.0.11 refused.
> > ssh from rh7.2 to win98:	n/a
> > ssh from rh7.2 to other:	yes
> >
> > ssh from rh8.0 to rh7.2:	yes
> > ssh from rh8.0 to win98:	n/a
> > ssh from rh8.0 to other:	yes
> >
> > conclusion:  rh8.0 does not server ssh
> >
> > # end
> 
> _______________________________________________
> 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/