[Bug 3271] Interface to send commands to the server side ssh
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Mar 5 19:34:12 AEDT 2021
https://bugzilla.mindrot.org/show_bug.cgi?id=3271
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at dtucker.net
--- Comment #1 from Darren Tucker <dtucker at dtucker.net> ---
You can do that via the ControlMaster's command option "-O". It uses
the unix socket laying around wherever ControlPath points to. It's a
security hazard so it's disabled by default, and it can only do a
subset of the things that ssh command line options support.
-O ctl_cmd
Control an active connection multiplexing master process. When
the -O option is specified, the ctl_cmd argument is interpreted
and passed to the master process. Valid commands are: "check"
(check that the master process is running), "forward" (request
forwardings without command execution), "cancel" (cancel
forwardings), "exit" (request the master to exit), and "stop"
(request the master to stop accepting further multiplexing
requests).
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
More information about the openssh-bugs
mailing list