From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Dired command on same host Date: Tue, 04 Jan 2022 20:35:05 +0100 Message-ID: <87k0ffp9mp.fsf@gnu.org> References: <877dbf94su.fsf@elite.giraud> <87czl77j7e.fsf@gmx.de> <87iluz79ja.fsf@elite.giraud> <878rvv73mr.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="26434"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.5; emacs 29.0.50 Cc: help-gnu-emacs@gnu.org, Manuel Giraud To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 04 20:48:19 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 1n4pn7-0006cz-QY for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 04 Jan 2022 20:48:18 +0100 Original-Received: from localhost ([::1]:39992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4pn6-0003ZO-Ic for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 04 Jan 2022 14:48:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4pl6-0001q6-Bu for help-gnu-emacs@gnu.org; Tue, 04 Jan 2022 14:46:12 -0500 Original-Received: from [2001:470:142:3::e] (port=52730 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4pl5-0006gt-9Y; Tue, 04 Jan 2022 14:46:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=yBnoUodyR6atQU1zqOjMJoDKCRiFJS3ac7i85fXIyJs=; b=pFgDUv/1wTJXE6 xyBFCNzRYUC3GkTKZA9nl0erpUz3S12WPaBXTQa/jERQmInBrMxYlPqVf921fxoiCm6qOYViJ1E0n 2Hm62GJ6ItJy0xnMv8SQ6wB2Q0jkHRyMiSyWWJldFv0ls+TcnDbB5WymgSj1UXfsJ8wbsOM3q65Me 2ZVAfyoZwgPO+0HrO2fy5p5XefJboQTD2J7nKebGTCogh63G2Xx7pfrkMYwUP/XEozesl4CzGXo8W B0eRg3s0fLTvtzWUakjNhx/5/PeiAs1Idt0Ma0L6bG09vLTCcgD+h+pWsoQcKwzvBIPmMRXsKnxym gA6diKrbFSzlfnmBfBsA==; Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:37455) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4pl5-00051B-Dp; Tue, 04 Jan 2022 14:46:11 -0500 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 617BC27C0054; Tue, 4 Jan 2022 14:46:10 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 04 Jan 2022 14:46:10 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudeffedguddvlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpehffgfhvffuffgjkfggtgesthdtredttdertdenucfhrhhomhepvfgrshhs ihhlohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenucggtffrrghtthgvrhhnpe evveeikeetkeeviefgfeffiedvteeguddvffeuueduveegtddthedvhfeuveffhfenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhorhhnod hmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieejfeekjeekgedqieefhedv leekqdhtshguhheppehgnhhurdhorhhgsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 4 Jan 2022 14:46:09 -0500 (EST) In-reply-to: <878rvv73mr.fsf@gmx.de> 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:135099 Archived-At: Michael Albinus writes: >> I have in my init a (simple) function that does this out-of-band scp >> but I think that the most tricky parts (for something general pupose) >> are: >> - how host A understand host B name? >> - is host B reachable from host A? > > Must be checked, yes. But this isn't a problem for Tramp. It keeps > shell sessions on both host A and host B, a simple "ssh -q -o > ConnectTimeout=1 B exit 2>/dev/null" on host A would tell us whether > host B is reachable Sorry if that question just illustrates that I don't know how Tramp works but: is it ensured that the host B on A is the same as B on my local machine? Like I could have different hosts defined as B in my local /etc/hosts and the one on A. Bye, Tassilo