* doc/misc/tramp.texi (Remote shell setup): Clarify use of ssh RemoteCommand.

This commit is contained in:
Michael Albinus 2023-03-29 10:55:18 +02:00
parent 3965c65d5e
commit 46fd10a760

View file

@ -1,5 +1,5 @@
\input texinfo @c -*- mode: texinfo; coding: utf-8 -*- \input texinfo @c -*- mode: texinfo; coding: utf-8 -*-
@setfilename ../info/tramp @setfilename ../../info/tramp.info
@c %**start of header @c %**start of header
@include docstyle.texi @include docstyle.texi
@c In the Tramp GIT, the version number and the bug report address @c In the Tramp GIT, the version number and the bug report address
@ -2372,10 +2372,11 @@ This uses also the settings in @code{tramp-sh-extra-args}.
@vindex RemoteCommand@r{, ssh option} @vindex RemoteCommand@r{, ssh option}
@strong{Note}: If you use an @option{ssh}-based method for connection, @strong{Note}: If you use an @option{ssh}-based method for connection,
do @emph{not} set the @option{RemoteCommand} option in your do @emph{not} set the @option{RemoteCommand} option in your
@command{ssh} configuration, for example to @command{screen}. On the @command{ssh} configuration to something like @command{screen}. If
other hand, some @option{ssh}-based methods, like @option{sshx} or used, @option{RemoteCommand} must open an interactive shell on the
@option{scpx}, silently overwrite a @option{RemoteCommand} option of remote host. On the other hand, some @option{ssh}-based methods, like
the configuration file. @option{sshx} or @option{scpx}, silently overwrite a
@option{RemoteCommand} option of the configuration file.
@subsection Other remote shell setup hints @subsection Other remote shell setup hints