[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question on tramp multi-hop

From: Michael Albinus
Subject: Re: question on tramp multi-hop
Date: Thu, 21 May 2020 10:18:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Alex Koval <address@hidden> writes:

> Hello,

Hi Alex,

> 2. /||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 from GNU ELPA, which contains this check.

> WBR,
>    Alex

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]