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: Wed, 05 Jan 2022 20:55:56 +0100 Message-ID: <87pmp6c5lt.fsf@gnu.org> References: <877dbf94su.fsf@elite.giraud> <87czl77j7e.fsf@gmx.de> <87iluz79ja.fsf@elite.giraud> <878rvv73mr.fsf@gmx.de> <8735m27c0s.fsf@elite.giraud> <87zgoa5uth.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4139"; 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 Wed Jan 05 21:04:27 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 1n5CWJ-0000oM-3J for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 Jan 2022 21:04:27 +0100 Original-Received: from localhost ([::1]:35438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5CWH-00079g-0d for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 Jan 2022 15:04:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5CVf-00079M-Jl for help-gnu-emacs@gnu.org; Wed, 05 Jan 2022 15:03:47 -0500 Original-Received: from [2001:470:142:3::e] (port=50984 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 1n5CVd-00084h-IN; Wed, 05 Jan 2022 15:03:46 -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=SKlNX8LlXk9UHiRyAh4MOK4zXAHNyPmpVcnaj39SnJQ=; b=K9Dre/e7LCrEFI /SR4yGj5oY9ytRVzIFMPMfoH6KEGVGB4DYXl/lbdug8sB9hy274OO7bx1ueCjnJ/+/28XxCnVz60T yWq31oGGJ9w10bQwb7kXhp/itxzHniwjaF/sx91r/yKqnEpdqtZ+uuwkuOcbTpbqe2YeEiA7ynWbe UHZSset3+rmJ5CTkC36CePQkLEfG+TARFI5EkY6nhrR/vOdgkXQUuJChUtIhZuwim0Q0bWv9Q8AAB XKT0MbznkwrNiJElf6GZ+K3ioc+JOQ7tqiVCveL+su0rkeKJBYNkPu/7C0+CPCxq14R4LIGeF+jWT xuh+szeHdk4XREkKtT4A==; Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:36953) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5CVd-0007tE-I8; Wed, 05 Jan 2022 15:03:45 -0500 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id A21ED27C005B; Wed, 5 Jan 2022 15:03:44 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 05 Jan 2022 15:03:44 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudefjedggeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufffjgfkgggtgfesthhqredttderjeenucfhrhhomhepvfgrshhs ihhlohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenucggtffrrghtthgvrhhnpe eiudfghffhjeevvedvhfffgeetleeljefffeeggfeugeegleehfeeiueejhfehgeenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhorhhnod hmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieejfeekjeekgedqieefhedv leekqdhtshguhheppehgnhhurdhorhhgsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 5 Jan 2022 15:03:43 -0500 (EST) In-reply-to: <87zgoa5uth.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:135115 Archived-At: Michael Albinus writes: >> To adress Tassilo remark, maybe it should make a hash of =C2=ABsome know= n=C2=BB >> file too to ensure that this is the correct host B. Or maybe this is >> too much. > > Well, a better check would be whether a given host name resolves to > the same IP address, taking into account also ssh's config via the > "Host" option. Don't know how hard this is. > > And even this isn't bullet-proof. Due to network configuration, hostB > could resolve to different addresses on my local machine and on hostA, > although it is still the same machine. That's exactly a common usage pattern for me. I frequently connect to customer machines that some network VPN magic makes accessible as if they were in our local network, so hostA and hostB are 192.168.233.1 and 192.168.233.2 from my POV although in that customer's network their IPs are different. Bye, Tassilo