Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: tariq on February 03, 2003, 01:42:54 PM

Title: ssh connection refused
Post by: tariq on February 03, 2003, 01:42:54 PM
Hi, whenever I try to use putty to connect to my server via ssh from a computer on thelocal network, i get

network error: connection refused.

Hovever, if I try and use putty from a computer outside my local network, it works! Any ideas what's causing this?
Title: Re: ssh connection refused
Post by: Bahuma on February 03, 2003, 02:57:20 PM
have you altered your hosts.allow file? it is in /etc/hosts.allow
Title: Re: ssh connection refused
Post by: tariq on February 03, 2003, 03:02:20 PM
no. i checked this and it says SSHD: ALL
Title: Re: ssh connection refused
Post by: Dan Brown on February 03, 2003, 03:45:57 PM
Have you configured your system to allow public SSH access?  That can be done at the server-manager page.
Title: Re: ssh connection refused
Post by: tariq on February 03, 2003, 11:03:54 PM
yesitison public access too. that's why i can't understand the problem
Title: Re: ssh connection refused
Post by: Dan Brown on February 04, 2003, 03:58:37 AM
Are you sure you're entering the correct address for the server?  Is there anything else (like a router) in the way?  This is kind of strange...
Title: Re: ssh connection refused
Post by: tariq on February 04, 2003, 01:49:54 PM
yes i'm entering the correct name, which i can also ping no problem. this is really strange i agree, and very annoying! i've noticed that i can telnet to it using the windows telnet but not with putty telnet, so i thought it might be a putty problem. anyway i downloaded sshpro for windows which also gets "connection refused".

i'm baffled.
Title: Re: ssh connection refused
Post by: Tim Perreault on February 04, 2003, 07:25:15 PM
I'm not as smart with linux as Dan so I won't even try, but I had a simular problem twice. Once with Zonealarm on win2000 and once with E-smith. I had 2 NICs in the systems both times and I had the interfaces swapped. The system thought that the external nic was the local network opening up my server to the whole intenet and I couldn't connect to the server from my network. So I had to swap the interface and tell it the right nic for the internet and local networks.

I hope this helps.

Tim