[Bug 215] New: No warning for failed ssh -v -R

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat Apr 13 01:51:50 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=215

           Summary: No warning for failed ssh -v -R
           Product: Portable OpenSSH
           Version: older versions
          Platform: UltraSparc
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: russ.radke at lsil.com


Folks,

I am using 2.9p2, but Markus Friedl said to submit this, so I didn't bother
upgrading and
re-checking the problem.

When you ssh -R, and the remote port that you are trying to forward is already
forwarded,
the forwarding that you request with the -R option will fail, but the only way
to find this
out is to look at the security logs on the remote machine, where sshd reports
that the port
is already in use.  ssh -v -v -v -R does not mention anything other than:

debug1: Connections to remote port 2222 forwarded to local address strad:1111

while the logs on the remote machine contain:

Apr 11 16:21:44 odin sshd[3808]: Accepted publickey for russr from ###.###.##.#
port 50191 ssh2
Apr 11 16:21:44 odin sshd[3808]: error: bind: Address already in use
Apr 11 16:21:44 odin sshd[3808]: error: channel_request_forwarding: cannot
listen to port: 2222

It would make debugging connections a lot easier if ssh -v -R would give you a
warning
that the port forwarding you requested had failed.

Thanks,

R.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list