Mercurial > emacs
comparison man/tramp.texi @ 73808:2889a065b1d4
* lisp/net/tramp.el (tramp-default-method): scp is the default method.
* man/tramp.texi (Configuration): scp is the default method.
(Default Method): Use ssh as example for another method.
author | Michael Albinus <michael.albinus@gmx.de> |
---|---|
date | Tue, 07 Nov 2006 10:58:19 +0000 |
parents | 82e81b1ee127 |
children | 1f9822a38f41 02cf29720f31 |
comparison
equal
deleted
inserted
replaced
73807:e02dbec6d19c | 73808:2889a065b1d4 |
---|---|
454 @node Configuration | 454 @node Configuration |
455 @chapter Configuring @value{tramp} for use | 455 @chapter Configuring @value{tramp} for use |
456 @cindex configuration | 456 @cindex configuration |
457 | 457 |
458 @cindex default configuration | 458 @cindex default configuration |
459 @value{tramp} is (normally) fully functional when it is initially installed. | 459 @value{tramp} is (normally) fully functional when it is initially |
460 It is initially configured to use the @command{ssh} program to connect | 460 installed. It is initially configured to use the @command{scp} |
461 to the remote host and to use base64 or uu encoding to transfer the | 461 program to connect to the remote host. So in the easiest case, you |
462 files through that shell connection. So in the easiest case, you just | 462 just type @kbd{C-x C-f} and then enter the filename |
463 type @kbd{C-x C-f} and then enter the filename | |
464 @file{@value{prefix}@var{user}@@@var{machine}@value{postfix}@var{/path/to.file}}. | 463 @file{@value{prefix}@var{user}@@@var{machine}@value{postfix}@var{/path/to.file}}. |
465 | 464 |
466 On some hosts, there are problems with opening a connection. These are | 465 On some hosts, there are problems with opening a connection. These are |
467 related to the behavior of the remote shell. See @xref{Remote shell | 466 related to the behavior of the remote shell. See @xref{Remote shell |
468 setup}, for details on this. | 467 setup}, for details on this. |
1034 you should set the variable @code{tramp-default-method} to reflect that | 1033 you should set the variable @code{tramp-default-method} to reflect that |
1035 choice. This variable controls which method will be used when a method | 1034 choice. This variable controls which method will be used when a method |
1036 is not specified in the @value{tramp} file name. For example: | 1035 is not specified in the @value{tramp} file name. For example: |
1037 | 1036 |
1038 @lisp | 1037 @lisp |
1039 (setq tramp-default-method "scp") | 1038 (setq tramp-default-method "ssh") |
1040 @end lisp | 1039 @end lisp |
1041 | 1040 |
1042 @vindex tramp-default-method-alist | 1041 @vindex tramp-default-method-alist |
1043 You can also specify different methods for certain user/host | 1042 You can also specify different methods for certain user/host |
1044 combinations, via the variable @code{tramp-default-method-alist}. For | 1043 combinations, via the variable @code{tramp-default-method-alist}. For |