Bug 2201

Summary: -R tunnel disappears
Product: Portable OpenSSH Reporter: Peter <pmlists>
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED WORKSFORME    
Severity: normal CC: djm
Priority: P5    
Version: 6.1p1   
Hardware: Other   
OS: Linux   

Description Peter 2014-02-12 22:42:32 AEDT
Hello,

We use this command for port forwarding:

ssh -R25011:localhost:22 -R25041:localhost:80 -L1955:server1:1955 -L1958:server1:1958 -fgCN my-login@server2

But after a while (perhaps about 1 or 2 days), the "-R" forwardings don't work anymore. The forwardings of ports 1955 and 1958 are still alive.

What could be the reason of this problem, and how could it be solved please?

TIA for any help,
Peter
Comment 1 Damien Miller 2014-07-03 13:54:04 AEST
You'll have to catch ssh and preferably sshd too in the act here by recording their output in debug mode ("ssh -vvv ..." and "/path/to/ssh -ddd" respectively).
Comment 2 Damien Miller 2015-05-22 15:47:12 AEST
10 months with no follow-up == no bug
Comment 3 Damien Miller 2015-08-11 23:05:07 AEST
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1