Displaying 1 result from an estimated 1 matches for "ssh_forwarded_port".
Did you mean:
ssh_forwarded_ports
2015 Jan 09
6
[Bug 2336] New: Expose dynamic port for -R 0:... via environment
...y allocated port
on the server to example.org:port from the client. The dynamically
allocated port gets printed; however, as far as I can tell there's no
way to access it programmatically from the server. I'd like to have it
exposed via an environment variable on the server (for instance,
SSH_FORWARDED_PORTS), which would allow programs run on the server to
know and use the dynamic port.
If the client set up multiple dynamic port forwards, the environment
variable would contain a space-separated list of port numbers, in the
same order as the requests on the ssh command line.
--
You are receiving th...