Ok, I think I figured it out. I had installed emacs within a distrobox container. Launching emacs from within that container and connecting /ssh:host2: works. Distrobox has a feature to "export" binaries to the host system, normally it works fine but I think emacs may not like it. I will then try to insteall emacs on my host system directly.
Thank you for your help! Rishub On Sat, Jan 17, 2026 at 6:29 PM Michael Albinus <[email protected]> wrote: > > Rishub Nagpal <[email protected]> writes: > > Hi Rishub, > > > I set 'tramp-use-connection-share' to 'nil' however this did not > > resolve the issue > > > > 18:11:12.578707 tramp-process-actions (3) # Waiting for prompts from > > remote shell...failed > > 18:11:12.578723 tramp-maybe-open-connection (3) # Opening connection > > for lab03 using ssh...failed > > 18:11:12.960961 tramp-maybe-open-connection (6) # /bin/sh -i > > 18:11:12.961769 tramp-wait-for-regexp (6) # > > #$ > > 18:11:12.961853 tramp-maybe-open-connection (3) # Opening connection > > for lab03 using ssh... > > 18:11:12.962002 tramp-send-command (6) # exec ssh -e none lab03 || exit > > 18:11:12.962028 tramp-process-actions (3) # Waiting for prompts from > > remote shell... > > (The trace mentions host lab03 instesd og host2, is this intended?) > > This isn't sufficient information. Pls call Emacs like this: > > --8<---------------cut here---------------start------------->8--- > # emacs -Q -l tramp --eval '(setq tramp-verbose 10)' /ssh:host2: > --8<---------------cut here---------------end--------------->8--- > > Wait until the connection times out. Send the *whole* Tramp debug > buffer, preferred as attachment (in order to keep formatting). Likely, > the buffer is too large for the mailing list, so you might send it to me > directly. > > > Rishub > > Best regards, Michael.
