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