Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th November 2010, 22:08
jayoungh jayoungh is offline
Junior Member
 
Join Date: Nov 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Reverse ssh tunnel connection problem

I am using a reverse ssh tunnel. However, sometimes the connection is broken but the server continues to think the connection is alive and well. When I try to connect to the server again I get the error:

Warning: remote port forwarding failed for listen port 2000

How do I recover from it? I have tried restarting the sshd service and doing killall for the sshd service. Neither worked. The only thing that has worked is to reboot the server (not a good solution).

Is there a good way to instantly detect it and correct the problem?

I do have the tcpkeepalive option set and it does detect it after a long time (haven't figured total time before it recovers yet.)
Reply With Quote
Sponsored Links
Reply

Bookmarks

Tags
failed, forwarding, port, remote, ssh

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Autoresponder Not working b00gz Installation/Configuration 10 28th October 2010 21:58
can't send/receive mail fedora 12 - ispconfig 3 ev0css Installation/Configuration 9 17th May 2010 21:44
Stange mail problem The-Ghost Installation/Configuration 6 25th April 2010 19:59
ISPConfig 3 Send/Receive mail not working. Acidut General 6 4th April 2010 11:24
Centos 5.2 + ISPConfig 3 tutorial - Problem with email tanakskool Server Operation 1 3rd June 2009 16:22


All times are GMT +2. The time now is 17:56.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.