Mailing List Archive

[Bug 3175] ssh_config(5) - ProxyCommand should explain semantics
https://bugzilla.mindrot.org/show_bug.cgi?id=3175

Damien Miller <djm@mindrot.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |djm@mindrot.org

--- Comment #1 from Damien Miller <djm@mindrot.org> ---
Those options aren't ignored though, they are made available to the
proxy command via token command line arguments. E.g. ProxyCommand="nc
%h %p"

--
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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3175] ssh_config(5) - ProxyCommand should explain semantics [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3175

--- Comment #2 from frederik-openssh@ofb.net ---
Thank you. Second attempt

ProxyCommand
Specifies the command to use to connect to the server. If
this option is provided then ssh(1) will not use the
command line arguments such as "destination" and "-p
port" for connecting. Instead, ssh(1) will run the given
command, and will attempt to communicate with the remote
server via the input and output of the command's process.
Thus, specifying no proxy command (the default) would be
semantically equivalent to `ProxyCommand="nc %h %p"`.
("nc" is the "netcat" utility, and %h and %p are expanded
to host and port as defined under TOKENS below)

The command string extends to the end of the line. The
command is executed using the user's shell `exec'
directive to avoid a lingering shell process. [...]

There is a bit of repetition in the next paragraph ("Arguments to
ProxyCommand accept the tokens [...]") but I think this is OK. (?)

--
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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs