LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-19-2008, 12:54 AM   #1
B-Boy
Member
 
Registered: Jan 2008
Posts: 103

Rep: Reputation: 15
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
 
Old 01-21-2008, 01:05 AM   #2
BASHCuresCancer
LQ Newbie
 
Registered: Jan 2008
Posts: 19

Rep: Reputation: 0
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.
 
Old 01-21-2008, 09:35 AM   #3
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 732

Rep: Reputation: 75
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

Last edited by makyo; 01-21-2008 at 09:36 AM.
 
Old 12-17-2009, 11:24 AM   #4
glendeni
LQ Newbie
 
Registered: Dec 2009
Posts: 1

Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail - Connection timed out [dsn=4.0.0 stat=Deferred: Connection timed out] ananthak Linux - Software 0 04-24-2007 07:28 AM
Error: "Could not connect data socket, Connection timed out." tigerflag Linux - Software 5 01-17-2006 01:26 AM
LDAP SERVER Client Connection on SUSE 9.2 - connection error jcarton Linux - Networking 3 03-19-2005 12:40 PM
LDAP SERVER - CLIENT CONNECTION on suse 9.2 - connection error nicolasdiogo Linux - Networking 4 03-01-2005 01:43 PM
LDAP SERVER - CLIENT CONNECTION on suse 9.2 - connection error nicolasdiogo SUSE / openSUSE 0 03-01-2005 05:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration