diff options
author | jmc@openbsd.org <jmc@openbsd.org> | 2017-05-30 21:38:17 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-05-31 02:51:09 +0200 |
commit | a3bb250c93bfe556838c46ed965066afce61cffa (patch) | |
tree | e1d3795f1ecb3ac405af96526e2cf6a4068af566 /ssh_config.5 | |
parent | upstream commit (diff) | |
download | openssh-a3bb250c93bfe556838c46ed965066afce61cffa.tar.xz openssh-a3bb250c93bfe556838c46ed965066afce61cffa.zip |
upstream commit
tweak previous;
Upstream-ID: 66987651046c42d142f7318c9695fb81a6d14031
Diffstat (limited to 'ssh_config.5')
-rw-r--r-- | ssh_config.5 | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/ssh_config.5 b/ssh_config.5 index 2c9e20fec..4277f9eac 100644 --- a/ssh_config.5 +++ b/ssh_config.5 @@ -33,7 +33,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: ssh_config.5,v 1.249 2017/05/30 18:58:37 bluhm Exp $ +.\" $OpenBSD: ssh_config.5,v 1.250 2017/05/30 19:38:17 jmc Exp $ .Dd $Mdocdate: May 30 2017 $ .Dt SSH_CONFIG 5 .Os @@ -1292,9 +1292,11 @@ Specifies a command to execute on the remote machine after successfully connecting to the server. The command string extends to the end of the line, and is executed with the user's shell. -The same escape character substitutions as for -.Cm LocalCommand -will be performed. +Arguments to +.Cm RemoteCommand +accept the tokens described in the +.Sx TOKENS +section. .It Cm RemoteForward Specifies that a TCP port on the remote machine be forwarded over the secure channel to the specified host and port from the local machine. @@ -1710,6 +1712,9 @@ accepts the tokens %%, %C, %d, %h, %l, %n, %p, %r, and %u. .Pp .Cm ProxyCommand accepts the tokens %%, %h, %p, and %r. +.Pp +.Cm RemoteCommand +accepts the tokens %%, %C, %d, %h, %l, %n, %p, %r, and %u. .Sh FILES .Bl -tag -width Ds .It Pa ~/.ssh/config |