[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46466: 28.0.50; Tramp hangs with bad prompt even when using /bin/sh
From: |
Michael Albinus |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Erik Hetzner <egh@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.