aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2007-10-29 20:17:03 +0000
committerMichael Albinus2007-10-29 20:17:03 +0000
commit9bbb9638e7bc9105859d779f6b0d669ac7aee60e (patch)
tree89d144a03458ea7b04f825396a82e2094e7abb37
parentc70dbcd5f37213650979d5a20729b2a21ce351bd (diff)
downloademacs-9bbb9638e7bc9105859d779f6b0d669ac7aee60e.tar.gz
emacs-9bbb9638e7bc9105859d779f6b0d669ac7aee60e.zip
* tramp.texi (Connection caching): Host names must be different
when tunneling.
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/tramp.texi16
2 files changed, 20 insertions, 1 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 1aade36076d..fcb1f0ac651 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
12007-10-29 Michael Albinus <michael.albinus@gmx.de>
2
3 * tramp.texi (Connection caching): Host names must be different
4 when tunneling.
5
12007-10-28 Reiner Steib <Reiner.Steib@gmx.de> 62007-10-28 Reiner Steib <Reiner.Steib@gmx.de>
2 7
3 * gnus.texi, gnus-faq.texi, message.texi: Bump version to 8 * gnus.texi, gnus-faq.texi, message.texi: Bump version to
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 2e37c2206c9..e208f54b38b 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -1594,6 +1594,20 @@ exiting @value{emacsname}. You can simply remove this file if
1594Using such persistent information can be disabled by setting 1594Using such persistent information can be disabled by setting
1595@code{tramp-persistency-file-name} to @code{nil}. 1595@code{tramp-persistency-file-name} to @code{nil}.
1596 1596
1597Once consequence of reusing connection related information is that
1598@var{tramp} needs to distinguish hosts. If you, for example, run a
1599local @code{sshd} on port 3001, which tunnels @command{ssh} to another
1600host, you could access both @file{@trampfn{ssh, , localhost,}} and
1601@file{@trampfn{ssh, , localhost#3001,}}. @var{tramp} would use the
1602same host related information (like paths, Perl variants, etc) for
1603both connections, although the information is valid only for one of
1604them.
1605
1606In order to avoid trouble, you must use another host name for one of
1607the connections, like introducing a @option{Host} section in
1608@file{~/.ssh/config} (@pxref{Frequently Asked Questions}) or applying
1609multiple hops (@pxref{Multi-hops}).
1610
1597 1611
1598@node Remote Programs 1612@node Remote Programs
1599@section How @value{tramp} finds and uses programs on the remote machine. 1613@section How @value{tramp} finds and uses programs on the remote machine.
@@ -2800,7 +2814,7 @@ Host xy
2800 2814
2801The file name left to type would be @kbd{C-x C-f @trampfn{ssh, , xy, 2815The file name left to type would be @kbd{C-x C-f @trampfn{ssh, , xy,
2802/opt/news/etc}}. Depending on files in your directories, it is even 2816/opt/news/etc}}. Depending on files in your directories, it is even
2803possible to complete the hostname with @kbd{C-x C-f 2817possible to complete the host name with @kbd{C-x C-f
2804@value{prefix}ssh@value{postfixhop}x @key{TAB}}. 2818@value{prefix}ssh@value{postfixhop}x @key{TAB}}.
2805 2819
2806@item Use environment variables: 2820@item Use environment variables: