Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-29-2015, 10:48 PM   #31
Senior Member
Registered: Aug 2009
Distribution: CentOS
Posts: 3,396

Rep: Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485

The default sshd configuration might be to listen only on the loopback interface (lo). If that's the case, you will need to change it. That's probably the easiest thing to look at, but if everything else were OK and the problem was just that there was nothing listening on that interface, the response should have been a TCP RESET and not a timeout.

"Connection timed out" means there was no response at all to the connection request. The packet was simply dropped somewhere along the line, and the only likely candidates are your router or the firewall in your computer. To help pin that down, you'll need to install the wireshark network analyzer. You'll need to start wireshark with root privileges ("sudo wireshark") and click through the warnings (Debian doesn't like having you run it as root). In the "Filter" box, enter "tcp.port==22" and click "Apply". Then select your network interface and click on "Start". Try the connection from again and see if anything shows up. If your router is forwarding the port properly you will see several SYN packets, and that means the problem is either in your firewall or the sshd daemon configuration.
1 members found this post helpful.


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
[SOLVED] Is this the write way to write a 2 command loop script? Bobbyyyy Linux - Newbie 1 04-14-2014 02:03 PM
Disabling 'write command' hirenpandya Linux - Security 9 03-03-2009 05:10 PM
Write command in QT navderm Programming 1 01-04-2009 08:41 PM
how do I write a command? er20ic Linux - Newbie 9 11-08-2006 08:17 PM
How to write Invisible Command rktech83 Linux - General 1 03-09-2006 02:03 AM

All times are GMT -5. The time now is 07:43 PM.

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