[NTLUG:Discuss] SSH

Matt Caldwell matt.cald at gte.net
Fri Jan 18 17:57:17 CST 2002


On Friday 18 January 2002 05:47 pm, you wrote:
> At 04:23 PM 1/18/2002 -0600, Matt Caldwell wrote:
> >I have installed the version of SSH that came with the Mandrake 8.1
> >install.  I am trying to access my box at home through work.  I have set
> >/etc/hosts.deny to ALL:ALL, and then /etc/hosts.allow to include the
> >domain of my company.  Now, my company has a Cisco PIX firewall and will
> >not let my PC connect to my box.  Does anyone know through what port my
> >BOX would be sending data back to my PC at work??  I do use PuTTY, and I
> >can ping my box, but I get a network error when I try to connect with
> > PuTTY.
>
> port scan your box with something like superscan (founstone.com) or nmap
> (insecure.org) and see if port 22 is open.
>
> from the Linux box can you ssh to localhost? or from anywhere else?
>
> Install cygwin and run ssh -v to get more details of why it is failing (if
> you are sure it is getting to the port)?
>
> ALso, the firewall at your work may block 22 outbound, not uncommon.  The
> src port for the returning packets is more or less random.
>
> >Thank You,
> >Matt Caldwell

Thanks, I just checked my services, and I was using port 22.  Port 22 is 
blocked on the firewall.  So, I commented out Telnet and changed sshd to port 
23 in my /etc/services.  Is that all I need to do,, other than restart inetd?
			--Matt




More information about the Discuss mailing list