aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorMichael Albinus2019-12-22 13:47:29 +0100
committerMichael Albinus2019-12-22 13:47:29 +0100
commit7c79d170436e5ea97de45e4d05a5230754e24bef (patch)
treeeb00f7d0825236f4c09c3634041f67045068f450 /doc/misc
parent021ecbfce7d91aaa6e3262c0993b2f61ee4ea40e (diff)
downloademacs-7c79d170436e5ea97de45e4d05a5230754e24bef.tar.gz
emacs-7c79d170436e5ea97de45e4d05a5230754e24bef.zip
Add item to Frequently Asked Questions of Tramp manual
* doc/misc/tramp.texi (Frequently Asked Questions): Add item for ControlMaster option on proxy hosts. Explain changing syntax to Ange FTP.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/tramp.texi31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index dd1378a8da7..f3951cf110a 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -4083,6 +4083,31 @@ this @code{nil} setting:
4083 4083
4084 4084
4085@item 4085@item
4086On multi-hop connections, @value{tramp} does not use @command{ssh}
4087@code{ControlMaster}
4088
4089In order to use the @code{ControlMaster} option, @value{tramp} must
4090check whether the @command{ssh} client supports this option. This is
4091only possible on the local host, for the first hop. @value{tramp}
4092does not use this option on proxy hosts.
4093
4094If you want to use this option also for the other hops, you must
4095configure @file{~/.ssh/config} on the proxy host:
4096
4097@example
4098@group
4099Host *
4100 ControlMaster auto
4101 ControlPath tramp.%C
4102 ControlPersist no
4103@end group
4104@end example
4105
4106Check @command{man ssh_config} whether these options are supported on
4107your proxy host.
4108
4109
4110@item
4086File name completion does not work with @value{tramp} 4111File name completion does not work with @value{tramp}
4087 4112
4088@acronym{ANSI} escape sequences from the remote shell may cause errors 4113@acronym{ANSI} escape sequences from the remote shell may cause errors
@@ -4606,6 +4631,12 @@ in @file{.emacs}:
4606(customize-set-variable 'tramp-default-method "ftp") 4631(customize-set-variable 'tramp-default-method "ftp")
4607@end lisp 4632@end lisp
4608 4633
4634If you want to enable Ange FTP's syntax, add the following form:
4635
4636@lisp
4637(tramp-change-syntax 'simplified)
4638@end lisp
4639
4609@item 4640@item
4610@vindex tramp-mode 4641@vindex tramp-mode
4611To disable both @value{tramp} (and Ange FTP), set @code{tramp-mode} to 4642To disable both @value{tramp} (and Ange FTP), set @code{tramp-mode} to