From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Tramp default method Date: Mon, 06 Nov 2006 00:01:51 -0500 Message-ID: References: <4544AA3E.9020804@soem.dk> <87k629dds3.fsf@gmx.de> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1162789362 11963 80.91.229.2 (6 Nov 2006 05:02:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Nov 2006 05:02:42 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 06 06:02:40 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ggwcq-0005pz-EY for ged-emacs-devel@m.gmane.org; Mon, 06 Nov 2006 06:02:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ggwcj-00050h-Ou for ged-emacs-devel@m.gmane.org; Mon, 06 Nov 2006 00:02:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GgwcS-0004sS-6z for emacs-devel@gnu.org; Mon, 06 Nov 2006 00:02:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GgwcR-0004sC-Jc for emacs-devel@gnu.org; Mon, 06 Nov 2006 00:01:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GgwcR-0004s8-Fm for emacs-devel@gnu.org; Mon, 06 Nov 2006 00:01:59 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GgwcQ-0000ji-10 for emacs-devel@gnu.org; Mon, 06 Nov 2006 00:01:58 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1GgwcJ-0000NS-A6; Mon, 06 Nov 2006 00:01:51 -0500 Original-To: Michael Albinus In-reply-to: <87k629dds3.fsf@gmx.de> (message from Michael Albinus on Sun, 05 Nov 2006 18:06:04 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:61848 Archived-At: > How come tramp-default-method is ssh and not scp? > In my setup, copying a 8 MB file takes 100 secs with ssh and 1.5 secs > withs scp. And I beleive scp should be installed if ssh is. With smaller files, ssh seems to be faster than scp. scp needs always an additional process, which requires some initial handshaking. See the discussion in the Tramp info page "(tramp)Default Method". So how about making the default be "ssh for a file under 10k, scp for larger files"?