From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Joao Cortes <joaooneillcortes@outlook.pt> Newsgroups: gmane.emacs.help Subject: tramp multi hop ssh, and shell Date: Thu, 19 Dec 2019 10:17:51 +0000 Message-ID: <DB8PR04MB57867EAF3A57FFD91B3DB67AA3520@DB8PR04MB5786.eurprd04.prod.outlook.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="167321"; mail-complaints-to="usenet@blaine.gmane.org" To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org> Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 19 16:00:25 2019 Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org> Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>) id 1ihxHq-000h8A-2P for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Dec 2019 16:00:22 +0100 Original-Received: from localhost ([::1]:43260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>) id 1ihxHo-0002Tw-AS for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Dec 2019 10:00:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43490) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <joaooneillcortes@outlook.pt>) id 1ihssX-0000xa-0K for help-gnu-emacs@gnu.org; Thu, 19 Dec 2019 05:17:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <joaooneillcortes@outlook.pt>) id 1ihssV-0004DL-Ei for help-gnu-emacs@gnu.org; Thu, 19 Dec 2019 05:17:56 -0500 Original-Received: from mail-db8eur05olkn2048.outbound.protection.outlook.com ([40.92.89.48]:45504 helo=EUR05-DB8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <joaooneillcortes@outlook.pt>) id 1ihssV-0003wq-1s for help-gnu-emacs@gnu.org; Thu, 19 Dec 2019 05:17:55 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FsGlqyHdPvriHtbW+TvkaWrtHYWwV5MKWC7o8z4TRbX+HOKw6F5qco6/WCzrFUz9avZ7FaSQGPxPBHsN2OMOYZUJOYwh6JWVwgHpckz7oKIfU0Pz6xWU2MrlQT1O5pv5OiAMe7NiK5cmu9Airdtvw0CjdYo3N5XaMEcGNtXzLtBS7dr0FwO9UPq8OOoTNXn+Ks72fRXyedzF9+Z8lXSy8HbfnHdEsI/ubHsu1iQe7xRQERcVFGTSlnMrV/8+q+a4JvqUEeOGAGPybkM8CDB42wT+tC9x+CVhhNIMfw6Ok5VFIVdPCaVCKjDeuxaAgUo6EWrNyz+R/SHSY0LpFoPwLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NygjXIaH7NHsAZa1OL1ruuRTW4EGYwuuOcVUPkoiucg=; b=mU2WAFfZR8vSGlvlbN7/BHz/BYjMedf6M83vQp7TgM6U0ehboka+w5R0XtZH9qqE+UwBEKJPWAj69FIa7CTNImpls530y/FO4Rgs09DV8v2jzusmdS9/otOKWPhGc1nlZUZZxVvpt8YOnK9n9uiyuMgKh3UMPKRT9Hs1r9ZxQuPMuq64WpI+BP8w62opiI6lGLMFmj0VswxPTUXmVsCW3V5CneNWxwaWKQi2GNY2yzOkGlf3+fWxyA4si/ah0uSoeYytgOemgdjW3rPL6fR6ELrboC3CnG87wTj5Sg7pTYjnzvp3P45vhtnHayjE7/hn3UQzdmjnGzq2KtNp+dta3A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Original-Received: from VI1EUR05FT027.eop-eur05.prod.protection.outlook.com (10.233.242.51) by VI1EUR05HT137.eop-eur05.prod.protection.outlook.com (10.233.243.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Thu, 19 Dec 2019 10:17:51 +0000 Original-Received: from DB8PR04MB5786.eurprd04.prod.outlook.com (10.233.242.54) by VI1EUR05FT027.mail.protection.outlook.com (10.233.242.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Thu, 19 Dec 2019 10:17:51 +0000 Original-Received: from DB8PR04MB5786.eurprd04.prod.outlook.com ([fe80::6d98:adb8:f7cc:394]) by DB8PR04MB5786.eurprd04.prod.outlook.com ([fe80::6d98:adb8:f7cc:394%7]) with mapi id 15.20.2559.015; Thu, 19 Dec 2019 10:17:51 +0000 Thread-Topic: tramp multi hop ssh, and shell Thread-Index: AQHVtlWSc9/dyIHSP0SqkeC5BPdqyQ== Accept-Language: en-GB, pt-PT, en-US Content-Language: en-US x-clientproxiedby: MR2P264CA0079.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:32::19) To DB8PR04MB5786.eurprd04.prod.outlook.com (2603:10a6:10:a8::31) x-incomingtopheadermarker: OriginalChecksum:A210636AD33040149D4FA0F5FC2D407C1A7A242506E9C75F891171C8F776F2D3; UpperCasedChecksum:754622E2630E9F6459CD7E0AF5B0F45F59630DA3A540DCFC3B3007A24EA13778; SizeAsReceived:7060; Count:46 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [hRe+r1Rot3fwwlb+IBscaDnyONKeSaHU] x-microsoft-original-message-id: <87lfr84o1e.fsf@outlook.pt> x-ms-publictraffictype: Email x-incomingheadercount: 46 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: f68b89c0-d665-4a85-f9ca-08d7846cb43c x-ms-traffictypediagnostic: VI1EUR05HT137: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6lfcx/deNZ+nOOt2TH6x8jF4lKb00BOyNFeG9QZcFb++JhSw9rV4H23cTuyIZ2rxHfOMy00nVSQDMgLnWmLaPykQ0I4BwFsCnZj26cLNUMPj6vqvbpTVX4gV+yYZCjl263Wp7vaXJMeUgr8xqGouB/GEQ/RHSo62sN5V9c2wNWX0j6nO+KYdZhC3g6Vvndjn x-ms-exchange-transport-forked: True X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: f68b89c0-d665-4a85-f9ca-08d7846cb43c X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Dec 2019 10:17:51.7680 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1EUR05HT137 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 40.92.89.48 X-Mailman-Approved-At: Thu, 19 Dec 2019 10:00:04 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>, <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/help-gnu-emacs> List-Post: <mailto:help-gnu-emacs@gnu.org> List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>, <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe> Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org> Xref: news.gmane.org gmane.emacs.help:122070 Archived-At: <http://permalink.gmane.org/gmane.emacs.help/122070> When hoping about an ssh gateway, 'tramp' performs a new connection each time I call 'compile'. For instance, If I do C-x C-f /ssh:me@taurus|/ssh:me@aries:, 'tramp' correctly connects me to aries, asking for authentication for both machines. However, If I run 'compile' , or open a new shell with 'shell' while in an aries directory, Tramp reconnects to aries , asking for authentication again and again. If I do not hop about taurus, doing something like, C-x C-f /ssh:me@aries, running 'compile' does not cause a reconnection. Can any one confirm this behaviour? If so, is this intendend? Does anyone know how to make emacs treat a multi hop like a non hoping connection? Thanks