Red Hat Bugzilla – Bug 26330
Remote port forwarding seems broken
Last modified: 2008-05-01 11:37:59 EDT
The remote port forwarding (-R option) in ssh seems broken in
The local port forwarding (-L options) works OK.
ssh -R 6004:localhost:22 email@example.com
does dorward 6004 port on remote machine to port 22 on client machine
SSH-2.0-2.0.13 (non-commercial SSH 2.0.13)
and does not do any forwarding on
Did you use Protocol 2 (the default)?
Please note that _remote_ port forwarding for SSHv2 doens't work in 2.3.0p1.
This has been fixed in CVS 2.5 months ago, but no new SSH versions have been
Yes, I am using SSH2 protocol.
I will try CVS snapshot when I have time.
Seems I can not get CVS snapshot,
because it asks for a login/password to access.
Is there a way to extract this fix from CVS snapshot?
Or, another question: whether older openssh versions
have remote forwarding working?
2.1.1p4-1.i386.rpm does not work withy remote
port forwarding either.
CVS uses 'anoncvs' or 'anonymous' pass I recall.
Snapshots can be obtained from http://www.mindrot.org/misc/openssh/
Some other stuff has changed too, so ripping the patch out and inserting it to 2.3.0p1
might be problematic.
2.5.1p1, where problems like these should have been fixed, is (will be) in rawhide.