From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud Newsgroups: gmane.emacs.help Subject: Re: Dired command on same host Date: Mon, 10 Jan 2022 10:33:04 +0100 Message-ID: <87o84kvstr.fsf@elite.giraud> References: <877dbf94su.fsf@elite.giraud> <87czl77j7e.fsf@gmx.de> <87iluz79ja.fsf@elite.giraud> <878rvv73mr.fsf@gmx.de> <87k0ffp9mp.fsf@gnu.org> <877dbe7cf9.fsf@elite.giraud> <87iluxnb79.fsf@logand.com> <87ee5l5drh.fsf@gmx.de> <87bl0n8s0n.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="503"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) Cc: help-gnu-emacs@gnu.org, Tomas Hlavaty , Tassilo Horn To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 10 10:33:47 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n6r3i-000AUr-Tl for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 10 Jan 2022 10:33:46 +0100 Original-Received: from localhost ([::1]:34418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6r3h-0001SL-GN for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 10 Jan 2022 04:33:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6r3B-0001Rx-Tc for help-gnu-emacs@gnu.org; Mon, 10 Jan 2022 04:33:13 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]:44512) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6r37-0005DQ-9D; Mon, 10 Jan 2022 04:33:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=sampr7u90C3JbBNE JZIzj+gFPHFB8vGLbe/vvddWSag=; h=in-reply-to:date:references:subject: cc:to:from; d=ledu-giraud.fr; b=F7h1XlMO/A98ZPzoiI5+yLnBwl2ToNp8waMBM4 ++pGodYVwKXcc1jfQ9re7BSNFXw9DjqpRSatNLKoxc7n9VlsvfA10qd5m0Fwy00nXgGedz TFZ9HQsZWcKdz4fBhDqTnGQn1Iv+GfV3WMtplNjLso/A06La8CUH4qLRQzOc9nwTANf5Yd jUKhjufNQPoJhGI6TdezRE4/Ds6pX/nB5nrDzT/gGWfMy1ov3LnpqO77amKVlzd7+slbSq hPoiijPL+2pOODC4Yu2PLoBcjkzsBuwlQPrPq1fUurgUMgPoYQznKJueJbXuQ2tjpxf78h lcrkPRqG4r4SIFM4IqxaajgA== Original-Received: from elite.giraud ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id f5c6c461 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 10 Jan 2022 10:33:05 +0100 (CET) In-Reply-To: <87bl0n8s0n.fsf@gmx.de> (Michael Albinus's message of "Fri, 07 Jan 2022 16:50:00 +0100") Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135172 Archived-At: Michael Albinus writes: > Michael Albinus writes: > > Hi everybody, > >>> ssh is able to identify the host using host keys: >>> >>> /etc/ssh/ssh_host_ed25519_key.pub >>> /etc/ssh/ssh_host_rsa_key.pub >> >> Thanks, these can be accessed via ssh-keyscan. Will use it in Tramp. > > I've implemented a proof-of-concept, see appended patch to > tramp-sh.el. It is towards Emacs 29.0.50, but might also apply for Emacs > 28.0.90 (for testing). After loading Tramp, there is a new user option > tramp-use-scp-direct-remote-copying which must be set to non-nil. > > Direct scp copying between two remote servers shall happen then. Could > people test it? Setting tramp-verbose to 6 shall show the scp command in > the debug buffer, like in my case Hi Michael, I've tested it with tramp-use-scp-direct-remote-copying to t and tramp-verbose to 6 but it does not work for me: it still use the method via a file in /tmp (which fills up my /tmp with a big file). Sorry, there is not much more to say. In the meantime, I was trying to implement a new "scp -3" method into tramp but I'm slow to catchup with the tramp codebase :) -- Manuel Giraud