Koozali.org: home of the SME Server

ssh connection refused

tariq

ssh connection refused
« 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?

Bahuma

Re: ssh connection refused
« Reply #1 on: February 03, 2003, 02:57:20 PM »
have you altered your hosts.allow file? it is in /etc/hosts.allow

tariq

Re: ssh connection refused
« Reply #2 on: February 03, 2003, 03:02:20 PM »
no. i checked this and it says SSHD: ALL

Dan Brown

Re: ssh connection refused
« Reply #3 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.

tariq

Re: ssh connection refused
« Reply #4 on: February 03, 2003, 11:03:54 PM »
yesitison public access too. that's why i can't understand the problem

Dan Brown

Re: ssh connection refused
« Reply #5 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...

tariq

Re: ssh connection refused
« Reply #6 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.

Tim Perreault

Re: ssh connection refused
« Reply #7 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