cyberduck icon indicating copy to clipboard operation
cyberduck copied to clipboard

ProxyJump configuration only supported with single jump host

Open a1ad opened this issue 3 years ago • 4 comments

I can't seem the work out how to use proxyjump from my ssh config file. I have a .ssh/config with the following parameters:

Host host1
   User root
   Hostname 192.168.12.8
   ProxyJump host2
   LocalForward 3306 127.0.0.1:3306

Host host2
    User root
    Hostname cloud.domain.be
    LocalForward 3306 127.0.0.1:3306
    LocalForward 9000 127.0.0.1:9000
    DynamicForward 1234
    ProxyJump host3

Host host3
    User root
    Hostname 10.10.70.31
    DynamicForward 1234

In cyberduck i make a bookmark with host1 in server field but no cigar! What am I doing wrong?

Edit: proxyjump with 2 hosts is working! When i add the third one, its not.

a1ad avatar Dec 17 '21 09:12 a1ad

Documentation in Connect via SSH Tunnel Through Bastion Server.

dkocher avatar Dec 22 '21 11:12 dkocher

I know. See my edit

a1ad avatar Dec 22 '21 11:12 a1ad

Probably related to the same enhancement: According to the ssh_config man page, ProxyJump host1, host2 is a valid directive. However, cyberduck fails with log entry

WARN  ch.cyberduck.core.threading.BackgroundCallable - Failure BackgroundException{class=class ch.cyberduck.core.exception.ResolveFailedException, file=null, message='Connection failed', detail='host1, host2', cause='java.net.UnknownHostException: host1, host2'} running background task

The same holds if I'm using the fqdn for the bastion servers.

Versions: Cyberduck 8.3.3 (37544)

simeonhaefliger avatar May 09 '22 12:05 simeonhaefliger

Is it planned to add support in a near future for this feature ? I would be very interested :)

xyloforce avatar Aug 12 '24 08:08 xyloforce