diff options
| -rw-r--r-- | doc/misc/tramp.texi | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 3dfd5224ecd..b272c385d1c 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi | |||
| @@ -467,6 +467,27 @@ The method @option{sg} stands for ``switch group''; the changed group | |||
| 467 | must be used here as user name. The default host name is the same. | 467 | must be used here as user name. The default host name is the same. |
| 468 | 468 | ||
| 469 | 469 | ||
| 470 | @anchor{Quick Start Guide: @option{ssh}, @option{plink}, @option{su}, @option{sudo} and @option{sg} methods} | ||
| 471 | @section Combining @option{ssh} or @option{plink} with @option{su} or @option{sudo} | ||
| 472 | @cindex method @option{ssh} | ||
| 473 | @cindex @option{ssh} method | ||
| 474 | @cindex method @option{plink} | ||
| 475 | @cindex @option{plink} method | ||
| 476 | @cindex method @option{su} | ||
| 477 | @cindex @option{su} method | ||
| 478 | @cindex method @option{sudo} | ||
| 479 | @cindex @option{sudo} method | ||
| 480 | |||
| 481 | If the @option{su} or @option{sudo} option shall be performed on | ||
| 482 | another host, it could be comnbined with a leading @option{ssh} or | ||
| 483 | @option{plink} option. That means, @value{tramp} connects first to | ||
| 484 | the other host with non-administrative credentials, and changes to | ||
| 485 | administrative credentials on that host afterwards. In a simple case, | ||
| 486 | the syntax looks like | ||
| 487 | @file{@value{prefix}ssh@value{postfixhop}user@@host|sudo@value{postfixhop}@value{postfix}/path/to/file}. | ||
| 488 | @xref{Ad-hoc multi-hops}. | ||
| 489 | |||
| 490 | |||
| 470 | @anchor{Quick Start Guide: @option{sudoedit} method} | 491 | @anchor{Quick Start Guide: @option{sudoedit} method} |
| 471 | @section Using @command{sudoedit} | 492 | @section Using @command{sudoedit} |
| 472 | @cindex method @option{sudoedit} | 493 | @cindex method @option{sudoedit} |