GNU bug report logs - #46466
28.0.50; Tramp hangs with bad prompt even when using /bin/sh

Previous Next

Package: emacs;

Reported by: Erik Hetzner <egh <at> e6h.org>

Date: Fri, 12 Feb 2021 18:16:01 UTC

Severity: wishlist

Tags: notabug

Found in version 28.0.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Erik Hetzner <egh <at> e6h.org>
Cc: 46466 <at> debbugs.gnu.org
Subject: bug#46466: 28.0.50; Tramp hangs with bad prompt even when using /bin/sh
Date: Sat, 19 Jun 2021 10:48:37 +0200
Erik Hetzner <egh <at> e6h.org> writes:

> Hi Michael,

Hi Erik,

> Thank you for the reminder. While revisiting this issue I came across
> an alternate fix: adding %l to the tramp-login-args for ssh. I suspect
> there is a reason this is not a viable fix, but I’m not sure what it
> is.

Good that it works for you. However, it can't be applied in general. If
somebody has declared RemoteCommand in ~/.ssh/config, it will
fail. Furthermore, it will fail for direct async processes.

You might keep your local setting, or you might use the "sshx" method
instead of "ssh", which sets RemoteCommand. Does this work for you?

> best, Erik

Best regards, Michael.




This bug report was last modified 3 years and 334 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.