[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/doc/misc/tramp.texi,v
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] Changes to emacs/doc/misc/tramp.texi,v |
Date: |
Mon, 29 Oct 2007 20:17:04 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Michael Albinus <albinus> 07/10/29 20:17:03
Index: tramp.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/misc/tramp.texi,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- tramp.texi 23 Oct 2007 21:54:24 -0000 1.6
+++ tramp.texi 29 Oct 2007 20:17:03 -0000 1.7
@@ -1594,6 +1594,20 @@
Using such persistent information can be disabled by setting
@code{tramp-persistency-file-name} to @code{nil}.
+Once consequence of reusing connection related information is that
address@hidden needs to distinguish hosts. If you, for example, run a
+local @code{sshd} on port 3001, which tunnels @command{ssh} to another
+host, you could access both @address@hidden, , localhost,}} and
address@hidden@trampfn{ssh, , localhost#3001,}}. @var{tramp} would use the
+same host related information (like paths, Perl variants, etc) for
+both connections, although the information is valid only for one of
+them.
+
+In order to avoid trouble, you must use another host name for one of
+the connections, like introducing a @option{Host} section in
address@hidden/.ssh/config} (@pxref{Frequently Asked Questions}) or applying
+multiple hops (@pxref{Multi-hops}).
+
@node Remote Programs
@section How @value{tramp} finds and uses programs on the remote machine.
@@ -2800,7 +2814,7 @@
The file name left to type would be @kbd{C-x C-f @trampfn{ssh, , xy,
/opt/news/etc}}. Depending on files in your directories, it is even
-possible to complete the hostname with @kbd{C-x C-f
+possible to complete the host name with @kbd{C-x C-f
@address@hidden @key{TAB}}.
@item Use environment variables: