From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tim Visher Newsgroups: gmane.emacs.help Subject: Re: cannot ssh edit a file Date: Sat, 20 Feb 2021 10:45:04 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20635"; mail-complaints-to="usenet@ciao.gmane.io" 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 16:46:17 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 1lDUSX-0005F5-0k for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 20 Feb 2021 16:46:17 +0100 Original-Received: from localhost ([::1]:46266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDUSW-0007rh-2i for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 20 Feb 2021 10:46:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40940) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDUS5-0007pc-SA for help-gnu-emacs@gnu.org; Sat, 20 Feb 2021 10:45:49 -0500 Original-Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:39923) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDUS1-0004db-Nv for help-gnu-emacs@gnu.org; Sat, 20 Feb 2021 10:45:49 -0500 Original-Received: by mail-wm1-x32e.google.com with SMTP id v62so10459224wmg.4 for ; Sat, 20 Feb 2021 07:45:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=umbdFtOzz1aH75/AUseCUVBUwLWh8HCe4J1DfquKjuw=; b=HGQ6v6X8BZMDS8ppkKnZTAZe1rc3KmCtsG8uOa9TkIXmtGT6PPlnqcmAQA4kmfykam RHDAZfNluxL9++2ZV+a8FO43DR15iXn39xOg4k0S+u3rIMZM9kEX7GMDMl8QTuJKZQrA Ykd2USwWNcpPBGUlOoCGUKFFyfKA7kZZcE1ai4ZKvRRV9bKUy1OrLzu1OLs5DFrX/Sa1 mA6dF54YokfKdyw32XdCbHDex317lswC86bsq+AAhyzZBYRJtK6gt3DrXA+iDKw1HuqD ay64/7WB30cPVkwCK4kE92CMlzEqSdofgmx/LQbcDvPUimR5Br+pCV6cDmmPjMG/veln +1ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=umbdFtOzz1aH75/AUseCUVBUwLWh8HCe4J1DfquKjuw=; b=ZQq24RUg6PdQq+DEsImQN4yinTw9wdo1K61yzrPmNpZrmto8BAAGQ2pV7unEXHVRaO tN4594X/rdtMfWSV/4r+vl/v/nCi/3CicuO8Djajv8LKB/GwNHso5Km4J7zhyfooxvmA 3M1OWsOSnLCm2dI4TmbbcCC9e4p6QNIV8C9tsOMZ7Igpm/R1842DDpm+dg4CEY/LHT++ AnFDG1Dq0sXMWmR2sAKmds+uUMywdhkoqQWFkNY1L6B77uXmzk2g0tazpMPkzFBnFmsE Vbi/kq9uM7TnFnf+ZbQ96u5QlvMB73CHZHSyDkLjkGK8/VSwlL7tjTIyd6b/lFE8HCSP XG8g== X-Gm-Message-State: AOAM533xlQsPtW1OYD9TA1vW+6i7+d9Ks5UTyDt1YkqW+r7vzv/NN0DZ zxVEyQrybm2sAyLpsdncQs01zmLsEha5TAYk/4k= X-Google-Smtp-Source: ABdhPJx+J92YLBXdqLRmxe2jYlJPvI1wuWmwoOkA/yVtPqq46vdxW0xjxmzRONaKIeR0w0XD5+9PGj6MjmGRMoigs+M= X-Received: by 2002:a7b:cb05:: with SMTP id u5mr9574771wmj.46.1613835943770; Sat, 20 Feb 2021 07:45:43 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=tim.visher@gmail.com; helo=mail-wm1-x32e.google.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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:128143 Archived-At: On Sat, Feb 20, 2021 at 4:44 AM Luca Ferrari wrote: > 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'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? > Can you reproduce the problem from `emacs -Q`?