Here it is, I also attached one with the stty command commented out for reference.
--
Damien MERENNE   <dam@cosinux.org>


Le ven. 24 sept. 2021 à 16:59, Michael Albinus <michael.albinus@gmx.de> a écrit :
Damien Merenne <dam@cosinux.org> writes:

Hi Damien,

> That's the culprit, it working without the `stty -icrnl` command. I
> tried in on a normal ssh session and that command is not failing, so I
> guess its not behaving as expected, no idea why...

Ah, good. Pls revert the patch, set tramp-verbose to 10, and rerun the
test. Send the resulting Tramp debug buffer.

Best regards, Michael.