LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot connect to Suse server error connection timed out (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-connect-to-suse-server-error-connection-timed-out-614682/)

B-Boy 01-19-2008 12:54 AM

Cannot connect to Suse server error connection timed out
 
Hi I cannot connect to a suse server with putty and a VM the error i get is network error connection timed out.I can connect to other WS from the server. please help i am sure its a small thing that i need to change but i am new at this ...thanks

BASHCuresCancer 01-21-2008 01:05 AM

Are you the administrator of this host?

On the host:
1. Make sure your internet connection works. Run /sbin/ifconfig to make sure you have a ip address and try and ping google.com.
2. Find out if ssh is running: ps -ef | grep ssh
3. Find out if iptables restricts incoming ssh connections: /sbin/iptables -L -v
4. Make sure you can ping the host from your windows host.

makyo 01-21-2008 09:35 AM

Hi.

I was in a similar situation -- I could ssh out from the newly-installed SuSE 10.3 box, but could not ssh in from any other box -- I didn't try with putty, however. I checked and sshd was running, so I assumed it was the default settings for the firewall.

Here is what worked for me:

K Menu -> Computer -> Admin (Yast) -> (enter root password) -> Security and Users -> Firewall -> Allowed Services (left side list). Add "Secure Shell Server". Save, finish, etc.

Then everything was fine; I could connect with ssh from other boxes.

Best wishes ... cheers, makyo

glendeni 12-17-2009 11:24 AM

Makyo - many thanks for your post, your Yast solution also worked for me. I had not realized that Suse had a firewall which blocked ssh.


All times are GMT -5. The time now is 10:13 AM.