tramp-devel
[Top][All Lists]
Advanced

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

Re: question on tramp multi-hop


From: Alex Koval
Subject: Re: question on tramp multi-hop
Date: Wed, 27 May 2020 09:38:08 +0300

Hi Michael,

Michael Albinus <address@hidden> writes:

>> 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.

Sorry, it looks like I mistakenly wrongly formulated my question. Let me
start over:

1. /ssh:host1.mydomain.edu|sudo:host1.mydomain.edu:/etc/somefile.txt 
   Works fine

1. /ssh:host1.mydomain.edu|sudo:host1.mydomain.edu|ssh:slave:/etc/somefile.txt 
   Works fine

2. /ssh:host2.mydomain.edu|sudo:host2.mydomain.edu:/etc/somefile.txt 
   Works fine

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

WBR, Alex



reply via email to

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