Displaying 2 results from an estimated 2 matches for "oforward".
Did you mean:
forward
2014 Mar 28
1
Using -Ocancel on dynamically allocated ports
Greetings,
So, the typical use of -Ocancel is quite straightforward:
> ssh -Oforward -R 12345:127.0.0.1:56789 user at remote
> ssh -Ocancel -R 12345:127.0.0.1:56789 user at remote
But this is not so good:
> ssh -Oforward -R 0:127.0.0.1:56789 user at remote
Allocated port 12345 for remote forward to 127.0.0.1:56789
12345
> ssh -Ocancel -R 0:127.0.0.1:56789 user at remote...
2014 Apr 01
1
[Bug 2219] New: Can't use -Ocancel on forward of dynamically allocated remote port
...y: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: quantheory at gmail.com
If you are using a multiplexed connection, you can request a
dynamically allocated remote port forward, but then there is no way to
cancel it afterward.
Example:
> ssh -Oforward -R 0:127.0.0.1:56789 user at remote
Allocated port 12345 for remote forward to 127.0.0.1:56789
12345
> ssh -Ocancel -R 0:127.0.0.1:56789 user at remote
mux_client_forward: forwarding request failed: port not in permitted
opens
muxclient: master cancel forward request failed
> ssh -Ocancel -R...