Alex Koval <[email protected]> writes:

> Hello,

Hi Alex,

> 2. /ssh:host2.mydomain.edu|sudo:host1.mydomain.edu|ssh:slave:/etc/somefile.txt
>    WRONGLY opens file on host1

This cannot work. You can use sudo in a multihop only on the same host
as the previous hop. sudo on host1, coming from host2, is impossible.

Older Tramp versions haven't checked this. In recent Tramp versions, you
should get an error.

You might install Tramp 2.4.3.4 from GNU ELPA, which contains this check.

> WBR,
>    Alex

Best regards, Michael.

Reply via email to