ID <[email protected]> writes: Hi,
>> This doesn't tell anything. Pls start a new Emacs session as described >> above, and send the *whole* debug buffer as attachment. Every single line. > > Attached. It looks, like the initial connectiion does something like this: > 01:13:14.257307 tramp-send-command (6) # exec ssh -o ControlMaster=auto -o > ControlPath=/home/id/.cache/emacs/tramp.%C -o ControlPersist=no -e none me308 > || exit This calls your login shell (fish), and it doesn't set the TERM environment yet. As a result, we see this prompt: > 01:13:28.452464 tramp-accept-process-output (10) # *tramp/ssh me308* run nil > > Last login: Wed May 7 01:12:55 2025 from 118.232.20.231 > ]7;file://me308-arch/home/id]0;[me308-arch] ~$ = You have the option to modify tramp-shell-prompt-pattern accordingly. But there is a more simple alternative: Use '/sshx:me308:' instead of '/ssh:me308:'. This open '/bin/sh -i', and avoids your login shell. Best regards, Michael.
