diff options
| author | Michael Albinus | 2018-11-06 15:48:05 +0100 |
|---|---|---|
| committer | Michael Albinus | 2018-11-06 15:48:05 +0100 |
| commit | 3abe7bfe306706a95ca8dc404c7645073c949507 (patch) | |
| tree | b4221e4bd7527ce22f3040e0ea6603ec1954c0a7 /doc/misc | |
| parent | ff1ee4e0bef4f62b758b70266d2f21be166924c3 (diff) | |
| download | emacs-3abe7bfe306706a95ca8dc404c7645073c949507.tar.gz emacs-3abe7bfe306706a95ca8dc404c7645073c949507.zip | |
Handle also port and domain in Tramp proxy definitions
* doc/misc/tramp.texi (Multi-hops): Exclude ports and domains from
pattern expansion.
* lisp/net/tramp-cmds.el (tramp-cleanup-all-connections):
Remove ad-hoc proxies.
* lisp/net/tramp-sh.el (tramp-compute-multi-hops): Handle also
port and domain in the proxy. Propertize ad-hoc proxies.
* lisp/net/tramp.el (tramp-default-proxies-alist): Adapt docstring.
* test/lisp/net/tramp-tests.el (tramp-test02-file-name-dissect)
(tramp-test02-file-name-dissect-simplified)
(tramp-test02-file-name-dissect-separate): Extend tests.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/tramp.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index f68205519f3..a0b65d58b55 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi | |||
| @@ -1374,7 +1374,8 @@ connect to @samp{bastion.your.domain}, then: | |||
| 1374 | @end lisp | 1374 | @end lisp |
| 1375 | 1375 | ||
| 1376 | @var{proxy} can take patterns @code{%h} or @code{%u} for @var{host} or | 1376 | @var{proxy} can take patterns @code{%h} or @code{%u} for @var{host} or |
| 1377 | @var{user} respectively. | 1377 | @var{user} respectively. Ports or domains, if they are part of |
| 1378 | a hop file name, are not expanded by those patterns. | ||
| 1378 | 1379 | ||
| 1379 | To login as @samp{root} on remote hosts in the domain | 1380 | To login as @samp{root} on remote hosts in the domain |
| 1380 | @samp{your.domain}, but login as @samp{root} is disabled for non-local | 1381 | @samp{your.domain}, but login as @samp{root} is disabled for non-local |