Welcome to WebmasterWorld Guest from 54.166.148.252

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Can't connect to SSH - Connection refused

     
7:44 pm on Jun 13, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month

joined:Dec 9, 2006
posts:784
votes: 16


I have 3 servers. One I can't connect to SSH. It gives me this error message:

ssh: connect to host #*$!#*$!.com port 22: Connection refused

Im using Terminal in Mac.

Help please
3:26 am on June 14, 2012 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10553
votes: 13


make sure the sshd daemon is running, check your config to verify the port on which it should be listening, use netstat to test that it is listening.

do you have a firewall that might be getting in the way?
9:33 am on June 15, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month

joined:Dec 9, 2006
posts:784
votes: 16


How do I know sshd daemon is running? Can I check it on plesk? Where?

How do I check the port it is listening? What command or how do I do it? Through terminal. I really don't know what is netstat? Should I download this program?

My firewall is set to accept all. I didn't change anything. It used to work it the past but after I did a hardware reboot, I no longer able to access ssh.
1:35 pm on June 15, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Apr 30, 2007
posts:1394
votes: 0


No you cannot check on plesk. If your host has a java console you can login through that and see if ssh is running or if there is a restriction with the firewall and IPs. If not ask your host.