From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Leo Butler Newsgroups: gmane.emacs.help Subject: Re: cannot ssh edit a file Date: Sat, 20 Feb 2021 07:21:12 -0600 Message-ID: <86im6mlvsn.fsf@x201.butler.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38833"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: help-gnu-emacs To: Luca Ferrari Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 20 14:37:20 2021 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 1lDSRj-000A15-Jp for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 20 Feb 2021 14:37:19 +0100 Original-Received: from localhost ([::1]:59366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDSRi-0000K1-Jg for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 20 Feb 2021 08:37:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDSQr-0000Jj-8k for help-gnu-emacs@gnu.org; Sat, 20 Feb 2021 08:36:25 -0500 Original-Received: from mail-eopbgr660108.outbound.protection.outlook.com ([40.107.66.108]:31520 helo=CAN01-QB1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDSQo-0004pR-2Y for help-gnu-emacs@gnu.org; Sat, 20 Feb 2021 08:36:25 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=goS/Naf0+Im9OzQ7BubKn1r7lLobNP3PgVGh35Acfo55bdrwSUY3KXKEjVQoVAnouG2D2mHPDNUr+btfFF+Xk5OgGg7NPtMkmoDw+049zehP9pTjt8dGrUVwov/RWD3BsQLvEuDttvQxf1l35fcBfv0gLoAC/xPQMoBFwOJiz420/ljXOMvEhwMv/SIz3brD0laa98drO/aCgGKwZdUBoc0YjYViN4rWfUybKxkbOOBdU2uxHpcGsXsPVZlPR0CSLT551+VNdO3ZdKwR/Io6XMahc8tMkz9CXH+yK0641qZEMYOEutVEaF4EOLY9oXPrjZUnczVZs7tRXXbjDbhLpw== 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=QypBkCMaBoHKrw2JjV2KxNVfQOdPD0P6+LrgQIpV9tY=; b=Wykj3aQ2cp0LiLwWhD3EahFOdIvItIO6NmywIiO2zVut1Nw0EjRNsiC0KRWNXREGNWr//C9F3uSHub6gise2aWFazNomMYjbeHPXUvSPjxVzf4nH+I0phiKmNlO3sppW3HG9nl23rFTfrLOMOWV6DCamiLCDdeYAiMZpS20qS6Sn+ShVTXWIvXBgV8dvC+MV+65OeeHeeAZ1x7VF7J6RIC0+N8WIFQ2/2/nLoxP+3+9niSgCix/0+BsDzn/AE3ExB6vw5x5J7BEbXvP6AGRtUBLGyHYShvm6yLwpkx/xKwDTP6lpynJpfbFVlxQC9WG/HT0C2Hy/jnGn0AwfcdPTzQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=umanitoba.ca; dmarc=pass action=none header.from=umanitoba.ca; dkim=pass header.d=umanitoba.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umanitoba.onmicrosoft.com; s=selector2-umanitoba-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QypBkCMaBoHKrw2JjV2KxNVfQOdPD0P6+LrgQIpV9tY=; b=KSb/eFEtmnXFleS6DA3duBXuJdbOwJcZhw+TdB430mjJNrbab8b5VnNSFC7STGSy8Nb6jg6Qkvj0cDGLOTE7ErDqgGD3BAQzTRC0bIlsgR/J1jt98tT28bN9VFq7NogspiVpnm9sXVF2qtsvHUKyW6lc6YxHAtUjKgrMrPKTSgs= Authentication-Results: gnu.org; dkim=none (message not signed) header.d=none;gnu.org; dmarc=none action=none header.from=umanitoba.ca; Original-Received: from YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:21::31) by YTBPR01MB2590.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:17::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.38; Sat, 20 Feb 2021 13:21:16 +0000 Original-Received: from YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM ([fe80::89d0:a70e:edeb:5db8]) by YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM ([fe80::89d0:a70e:edeb:5db8%4]) with mapi id 15.20.3846.042; Sat, 20 Feb 2021 13:21:16 +0000 In-Reply-To: (Luca Ferrari's message of "Sat, 20 Feb 2021 10:43:44 +0100") X-Originating-IP: [45.44.33.194] X-ClientProxiedBy: MWHPR1401CA0014.namprd14.prod.outlook.com (2603:10b6:301:4b::24) To YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:21::31) X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from x201 (45.44.33.194) by MWHPR1401CA0014.namprd14.prod.outlook.com (2603:10b6:301:4b::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.27 via Frontend Transport; Sat, 20 Feb 2021 13:21:15 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8ce3d353-b14f-47f6-8b69-08d8d5a26719 X-MS-TrafficTypeDiagnostic: YTBPR01MB2590: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Lu1XEbJwiwQyCckqOmhVZ9V4XG7fD44INcgqXv9fh0NArkGfWVat/wvKe8lrn58n1EPLfM4gIUYyPjlZ6QEOrhEK8lP/KZBIXh0hvZUXWyJM5gT/vBELLfPaCoUdnEqRFFHTRHzV93HWxabNZpchSe1ETdFqVVOGDsp9HuU2on3JI8zVHxp5ozEGnZlZt+HIX3BZYbxRRZ4Jw+Jm7ktV7DRHoGI8/8k6iywkJoAKXfQchSfafmXx/m4r8RliEN6FQ8Xah+70/W9cw0zf92PTkZwrVErp5byASbGUO3m7ZLadx8/y+9HV1R+A+0zAz4uMtB24YQ2q9Iq/y8XdkOzauTSi+FmgpC+d9U8fxs5hgsTRcWizjRe590gAsT0bV41jHt/HlgSBqziBDjJWWNcyNWc1CSyp7gOqG1GvVtFgmHbkTJZZ9xMIIVYE9QNgzO66TGA5MiHx6PK49BHBeTKQCX4n7UeHyzySskDRvwquUq8FHtdfHLvS43QACUYm+GBBjOa+7rtrmibFWT0XusBsPA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(346002)(396003)(366004)(376002)(136003)(39860400002)(9686003)(2906002)(4326008)(66556008)(186003)(16526019)(6486002)(66476007)(8676002)(52116002)(66946007)(6496006)(26005)(5660300002)(8936002)(478600001)(6916009)(316002)(44832011)(6666004)(956004)(83380400001)(786003)(86362001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?OAKzVr+6gfZEH/mpRth5bvRg1Y6DmyYM5vyuOTw2lv8HRWu1HBI8LYMT1QLm?= =?us-ascii?Q?UFbQfczZYKy9EycfpRi/IbOXd7StvbvKc/ZwNWm9cY2HkNGaVumFlsye0tl1?= =?us-ascii?Q?R8tX/VgatnjGCb0B2WNm75EwNaof7gjUaUkXuhNiTfPYUdPZIXfE5f5roKgT?= =?us-ascii?Q?wwlsRe1xw1hHheBlQgzLsa5aclMaTZNMCU7FgoRPO/2vHCPg8/GUlDwRAR5b?= =?us-ascii?Q?kJRlcTn+k5dPx/YxSZFHsGbNrfUfYjTTMW5j7e231dcTsX51V7WWDUZw6UwG?= =?us-ascii?Q?A6iP/uB9ZDpY5QMaKHQB8CVYVEeC1HXKMuri3/kvTjTMk1wZ4xTY3hKscw99?= =?us-ascii?Q?hb44m9YZLPhURLU2MNknVwfGQNfn1UWMkrSqe0uMVR3tizcV8M439axt9Ob+?= =?us-ascii?Q?Wh5enHKMw9+HmW5sdRusn8cAEJG7HgmlN2bUPajdtHMxfYh0R/LFeVl7XC3m?= =?us-ascii?Q?/DOyKp4ww+Z3V0hNgQCoE9mkRCZnf2TR0+PZUI8mPfocVfrZECLtkwft7dgY?= =?us-ascii?Q?B9tSC1OeBROKbiG+OHK3v2OG/6hcX8XBkU5qf+ISIeVfG7UqQDkPDRuLXTWR?= =?us-ascii?Q?Zmrlp0TJ1mc1Z/eoiaoiMl4xERdK+1R0Gu/aYuQBBqoioIs/tog8FLW2rjww?= =?us-ascii?Q?9ljD X-OriginatorOrg: umanitoba.ca X-MS-Exchange-CrossTenant-Network-Message-Id: 8ce3d353-b14f-47f6-8b69-08d8d5a26719 X-MS-Exchange-CrossTenant-AuthSource: YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Feb 2021 13:21:16.5180 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4f80dd0b-338c-4e4c-8a14-90446962f7b8 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: mg4Ziii5bqpbBAvzI3/bKZFlMe0f01QWuUc/c+bE26th2py25sOhVeHcKKywukFQFdXvxenNvCSGzuR3dBU4yQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTBPR01MB2590 Received-SPF: pass client-ip=40.107.66.108; envelope-from=Leo.Butler@umanitoba.ca; helo=CAN01-QB1-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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.23 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:128136 Archived-At: Luca Ferrari writes: > Hi all, > I'm using emacs 26.3 on ubuntu linux, and I cannot tramp via ssh into > a machine to edit files. > What happens is that once I digit /ssh:luca@remotehost: Emacs freezes. I use ~/.ssh/config to configure my hosts. Something like: Host remotehost User mename HostName aa.bb.cc.dd Port 5555 IdentityFile ~/.ssh/remotehost Then C-x C-f /ssh:remotehost: RET opens the home directory of `mename'. To troubleshoot, I would suggest configuring the host as above and then executing ssh -v -v remotehost in the terminal. That will likely give you an idea of what is wrong. ---- Alternatively, I would suggest using sshfs. Leo > I've ssh keys in place, and I cannot connect with a terminal and ssh > regularly. I've tried changing the shell of the user, since the remote > user was using zsh and I've read that some particular prompts can > confuse tramp, but nothing changed. > I've tried the same using M-x find-file, but it freezes again. > I've noted that trying to connect with a user that does not have ssh > keys prompts me immediatly for the password, but once the password is > entered, emacs freezes. > > Any idea about how to investigate and fix the problem? > > Thanks, > Luca