From 1d1c19ca25ccb74128132bc30b3fe30b849a20d3 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Tue, 7 Nov 2006 10:58:19 +0000 Subject: [PATCH] * 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. --- lisp/ChangeLog | 4 ++++ lisp/net/tramp.el | 2 +- man/ChangeLog | 5 +++++ man/tramp.texi | 11 +++++------ 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c0eac60c44..981ed383dd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2006-11-07 Michael Albinus + + * net/tramp.el (tramp-default-method): scp is the default method. + 2006-11-07 Juanma Barranquero * server.el (server-start): Save also the Emacs pid in the server file. diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 0b914a811d..ae815b7d43 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -676,7 +676,7 @@ various functions for details." (if (and (fboundp 'executable-find) (executable-find "plink")) "plink" - "ssh") + "scp") "*Default method to use for transferring files. See `tramp-methods' for possibilities. Also see `tramp-default-method-alist'." diff --git a/man/ChangeLog b/man/ChangeLog index e2388af77d..aba169c6a4 100644 --- a/man/ChangeLog +++ b/man/ChangeLog @@ -1,3 +1,8 @@ +2006-11-07 Michael Albinus + + * tramp.texi (Configuration): scp is the default method. + (Default Method): Use ssh as example for another method. + 2006-11-06 Richard Stallman * emacs.texi (Acknowledgments): Fix name spelling, add Anna Bigatti. diff --git a/man/tramp.texi b/man/tramp.texi index baea8d6652..48d13b67ee 100644 --- a/man/tramp.texi +++ b/man/tramp.texi @@ -456,11 +456,10 @@ filenames in July 2002. @cindex configuration @cindex default configuration -@value{tramp} is (normally) fully functional when it is initially installed. -It is initially configured to use the @command{ssh} program to connect -to the remote host and to use base64 or uu encoding to transfer the -files through that shell connection. So in the easiest case, you just -type @kbd{C-x C-f} and then enter the filename +@value{tramp} is (normally) fully functional when it is initially +installed. It is initially configured to use the @command{scp} +program to connect to the remote host. So in the easiest case, you +just type @kbd{C-x C-f} and then enter the filename @file{@value{prefix}@var{user}@@@var{machine}@value{postfix}@var{/path/to.file}}. On some hosts, there are problems with opening a connection. These are @@ -1036,7 +1035,7 @@ choice. This variable controls which method will be used when a method is not specified in the @value{tramp} file name. For example: @lisp -(setq tramp-default-method "scp") +(setq tramp-default-method "ssh") @end lisp @vindex tramp-default-method-alist -- 2.39.2