tramp-devel
[Top][All Lists]
Advanced

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

question on tramp multi-hop


From: Alex Koval
Subject: question on tramp multi-hop
Date: Thu, 21 May 2020 06:57:05 +0300

Hello,
I have four hosts, two main and 2 slaves:

host1.mydomain.edu -> ssh slave (alias to 'slave' is configured in /etc/hosts 
on host1)
host2.mydomain.edu -> ssh slave (alias to 'slave' is configured in /etc/hosts 
on host2)

Each of them have 'slave' host configured, accessible only from main.
So, I want to use tramp multi-hop syntax here.

But when I do it:

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:host1.mydomain.edu:/etc/somefile.txt 
   Works fine

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

How to overcome this?

WBR,
   Alex



reply via email to

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