Contents of the *debug ...* buffer attached (tramp-verbose 10). The
"Display all 112 possibilities?" stuff is weird, no idea what's that
about.
But that seems to be the problem. Tramp has sent the following command
to the remote host:
22:41:31.080000 tramp-send-command (6) # exec env ENV='' PROMPT_COMMAND=''
PS1=\#\$\ PS2='' PS3='' /bin/sh ^M
Note the " ^M", I have added it literally. And your host returns
22:41:31.132000 tramp-accept-process-output (10) #
exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\ PS2='' PS3='' /bin/sh ^M^M
Display all 112 possibilities? (y or n)^M
This confuses Tramp. I could reproduce a similar behaviour with an
interactive bash:
address@hidden:~$ exec <TAB> <TAB>
Display all 3029 possibilities? (y or n)^C
However, Tramp does not send any <TAB> over the wire. Do you have
enabled any kind of autocompletion in your remote shell?