* tramp.texi (Default Host): Introduce `tramp-default-host-alist'.

This commit is contained in:
Michael Albinus 2013-01-10 08:34:48 +01:00
parent bbc7ff2588
commit 997d5f2d1d
2 changed files with 18 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2013-01-10 Michael Albinus <michael.albinus@gmx.de>
* tramp.texi (Default Host): Introduce `tramp-default-host-alist'.
2013-01-09 Bastien Guerry <bzg@gnu.org>
* org.texi (Pushing to MobileOrg): Add footnote about using

View file

@ -1279,8 +1279,8 @@ example, if you always have to use the user @samp{john} in the domain
@end lisp
@noindent
See the documentation for the variable
@code{tramp-default-user-alist} for more details.
See the documentation for the variable @code{tramp-default-user-alist}
for more details.
One trap to fall in must be known. If @value{tramp} finds a default
user, this user will be passed always to the connection command as
@ -1338,6 +1338,18 @@ Note, however, that the most simplification @samp{/::} won't work,
because @samp{/:} is the prefix for quoted file names.
@end ifset
@vindex tramp-default-host-alist
Like with methods and users, you can also specify different default
hosts for certain method/user combinations via the variable
@code{tramp-default-host-alist}. Usually, this isn't necessary,
because @code{tramp-default-host} should be sufficient. For some
methods, like @code{adb}, that default value must be overwritten,
which is already the initial value of @code{tramp-default-host-alist}.
@noindent
See the documentation for the variable @code{tramp-default-host-alist}
for more details.
@node Multi-hops
@section Connecting to a remote host using multiple hops