aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/tramp.texi6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 31439043435..f0ea073ed09 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -1408,8 +1408,10 @@ Opening @file{@trampfn{sudo,randomhost.your.domain,}} first connects
1408to @samp{randomhost.your.domain} via @code{ssh} under your account 1408to @samp{randomhost.your.domain} via @code{ssh} under your account
1409name, and then performs @code{sudo -u root} on that host. 1409name, and then performs @code{sudo -u root} on that host.
1410 1410
1411It is key for the sudo method in the above example to be applied on 1411It is key for the @option{sudo} method in the above example to be
1412the host after reaching it and not on the local host. 1412applied on the host after reaching it and not on the local host.
1413@value{tramp} checks therefore, that the host name for such hops
1414matches the host name of the previous hop.
1413 1415
1414@var{host}, @var{user} and @var{proxy} can also take Lisp forms. These 1416@var{host}, @var{user} and @var{proxy} can also take Lisp forms. These
1415forms when evaluated must return either a string or @code{nil}. 1417forms when evaluated must return either a string or @code{nil}.