1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 01:20:37 -08:00

* tramp.texi (File): Tweak wording for the `scpc' option.

This commit is contained in:
Eric Hanchrow 2012-01-20 21:12:38 +01:00 committed by Michael Albinus
parent dd6e3cdd5a
commit 02dc2fd7cb
2 changed files with 16 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2012-01-19 Eric Hanchrow <eric.hanchrow@gmail.com>
* tramp.texi (File): Tweak wording for the `scpc' option.
2012-01-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus.texi (Group Parameters): Really note precedence.

View file

@ -866,13 +866,22 @@ Newer versions of @option{ssh} (for example OpenSSH 4) offer an option
@option{ControlMaster}. This allows @option{scp} to reuse an existing
@option{ssh} channel, which increases performance.
Before you use this method, you shall check whether your @option{ssh}
implementation does support this option. Try from the command line
Before you use this method, you should check whether your @option{ssh}
implementation supports this option. Try from the command line
@example
ssh localhost -o ControlMaster=yes
ssh localhost -o ControlMaster=yes /bin/true
@end example
If that command succeeds silently, then you can use @option{scpc}; but
if it fails like
@example
command-line: line 0: Bad configuration option: ControlMaster
@end example
then you cannot use it.
This method supports the @samp{-p} argument.