Michael Albinus writes: Hi Philipp, > As you see, Tramp is stalled for 19 seconds, and then the timeout kills > it. I will see whether I could rearrange the command sequence. Maybe > writing the temp file just in shorter chunks, or so. Could you pls check, whether the appended patch works for you? Thanks, and best regards, Michael.