LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-08-2009, 12:38 PM   #1
abstom
LQ Newbie
 
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
ssh: connect to host thyme1 port 22: Connection timed out - solved


Almost always I can find answers to my issues in this forum but when I wasn't able to today I took matters into my own hands...

Checked some logs this a.m. and found the following error:

ssh: connect to host thyme01 port 22: Connection timed out
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: unexplained error (code 255) at io.c(454) [receiver=2.6.9]

Checked my firewall and all seemed well. Checked my sshd daemon and that was fine. Did some additional troubleshooting and found that one of my bad practices caused this. Turns out that one of my workstations I remotely back-up with rsync got rebooted and got a new IP address via DHCP. Because I do some port mapping on my router ("packets arriving at the router for port 'xyz' are forwarded to port 'xyz' at IP address '192.168.x.x'"), the packets weren't making it to the new IP address, thus the timed out error in the backup log file. Once I updated the port map on my router to the newly issued IP address, I could rsync/ssh again.

I'll be setting up a static IP for my workstation shortly to avoid this in the future.
 
Old 09-19-2009, 05:33 AM   #2
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 697

Rep: Reputation: 93
Or an alternate method would be to set up dhcp and dns for automatic updates.

For a simple network setup, that might be overkill. Your solution sounds like
a good one.
 
  


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
ssh: connection to host port: 22: Connection timed out lost connection cucolin@ Linux - Server 4 11-22-2011 06:15 AM
Enable connection timed out option in ssh msivadass Linux - Server 2 10-05-2008 01:44 PM
SSH Connection timed out davhak Linux - Networking 13 03-18-2007 03:41 AM
exim connection timed out error(host lookup is done fine) rmanocha Linux - Software 2 06-20-2004 12:40 AM
ssh: Connection timed out. [from school] nixel Linux - Networking 2 05-19-2004 12:21 PM


All times are GMT -5. The time now is 09:24 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration