LinuxQuestions.org
Review your favorite Linux distribution.
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 04-29-2015, 11:48 PM   #31
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 2,959

Rep: Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268

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 CanYouSeeMe.org 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.
  


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


All times are GMT -5. The time now is 10:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration