Web Hosting Talk







View Full Version : SSH connection refused?


horoscopes2000
08-27-2002, 05:52 PM
Hi people,

I am using Putty for my SSH connection to my RaQ3. Just recently after I type in my IP address and ask it to connect on the default port 22 I have been receiving the "network error : connection refused" error.

I have telnet switched off on my Raq, but this has been switched of for quite some months.

Any ideas please?

eddy2099
08-27-2002, 11:01 PM
You would need to set to allow that user (you) to Telnet by setting the site 'Allow Shell Account' and giving that user Shell Access.

horoscopes2000
08-27-2002, 11:51 PM
Originally posted by eddy2099
You would need to set to allow that user (you) to Telnet by setting the site 'Allow Shell Account' and giving that user Shell Access.

it doesn't even go so far as asking for a username or password. I use the IP address for the Raq rather than a domain name, and it refuses the connection before I get the chance to enter a username.

cbtrussell
08-28-2002, 04:00 AM
I think you are implying that you have successfully connected as this user in the past? Have you installed the SHP patch? If so, make darn sure your IP (from wherever you are connecting) is included in the list of IP's NEVER to block.

Brandon

bwho
08-28-2002, 04:32 AM
"network error : connection refused"

would typicaly be the error you would receive if sshd has died, or was not running.

telnet into your cobalt su to root and type :
/etc/rc.d/init.d/sshd2 restart

this should restart it, as i dont believe there is the ability to restart it from Control Panel > Services of the webGUI

bwho
08-28-2002, 04:33 AM
er yea, what cbtrussell said also ;)

horoscopes2000
08-30-2002, 10:27 PM
Originally posted by cbtrussell
I think you are implying that you have successfully connected as this user in the past? Have you installed the SHP patch? If so, make darn sure your IP (from wherever you are connecting) is included in the list of IP's NEVER to block.

Brandon

Yep, it used to connect just fine. I'm trying to remember if this problem started after my IP address changed due to a house move. Could that be the problem?

How do I check the list of IP's to never block?

horoscopes2000
08-30-2002, 10:40 PM
Originally posted by brian-WHT

telnet into your cobalt su to root and type :
/etc/rc.d/init.d/sshd2 restart


I tried this as root and it told me :

sh: /etc/rc.d/init.d/sshd2: No such file or directory

Pingu
08-31-2002, 11:55 AM
/etc/rc.d/init.d/sshd restart

try that then.

or do:

locate sshd

That should return some path

horoscopes2000
08-31-2002, 01:46 PM
Aaah, bingo!! got it working, many thanks for your help. :o)