iterate-ch / cyberduck

Cyberduck is a libre FTP, SFTP, WebDAV, Amazon S3, Backblaze B2, Microsoft Azure & OneDrive and OpenStack Swift file transfer client for Mac and Windows.
https://cyberduck.io/
GNU General Public License v3.0
3.33k stars 290 forks source link

ProxyJump configuration only supported with single jump host #12672

Open a1ad opened 2 years ago

a1ad commented 2 years ago

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.

dkocher commented 2 years ago

Documentation in Connect via SSH Tunnel Through Bastion Server.

a1ad commented 2 years ago

I know. See my edit

simeonhaefliger commented 2 years ago

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)

xyloforce commented 2 months ago

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