Hi,

am I correct, that the local port used on the client ('YY' in '-R 
XXXX:client-ip:YY') is not part of the SSH_MSG_GLOBAL_REQUEST packet (see 
http://www.faqs.org/rfcs/rfc4254.html, 7.1.  Requesting Port Forwarding)?

I'd like to know on the server side (child process) the port the clients wish 
to forward to so that I can build an URL for this port forwarding if the port 
is forwarded to an HTTP port.

Alternatively are there any plans to support remote port forwarding with an 
unspecified port (=0) so that the server can choose the next unprivileged port 
(see also RFC 4254. Marked as unsupported in svr-tcpfwd.c)?

Cheers
Michael


Reply via email to