[Cyberduck-trac] [Cyberduck] #2865: Support proxy connection with SSH Tunnel through bastion server

Cyberduck trac at cyberduck.io
Sat Jan 19 11:32:39 UTC 2019


#2865: Support proxy connection with SSH Tunnel through bastion server
-------------------------------------------------+-------------------------
 Reporter:  ross.peoples@…                       |         Owner:  dkocher
     Type:  enhancement                          |        Status:  assigned
 Priority:  high                                 |     Milestone:  7.0
Component:  sftp                                 |       Version:  4.4.5
 Severity:  normal                               |    Resolution:
 Keywords:  ssh tunnel sftp gateway jump server  |  Architecture:  Intel
 Platform:                                       |
-------------------------------------------------+-------------------------

Comment (by skylite):

 This would be very useful to me too! I tried almost all ssh/scp clients
 for mac and currently there is no GUI client capable of doing this.
 With sshfs it would look something like this if you dont fill out the
 ~/.ssh/config file (and using private key auth) :

 /etc/ssh/sshd_config file on the server:

 {{{
 Match User john
   ForceCommand nc -q0 192.168.1.10 22
 }}}

 mount command on client:

 {{{
 sshfs john at my-entry-server.hu:/ my_local_folder/ -o ProxyCommand='ssh -q
 john at my-entry-server.hu -i ~/id_rsa_user_v2' -o
 IdentityFile='~/id_rsa_user_v2’
 }}}

 if you have the config file:

 {{{
 host internal_server
 user john
 ProxyCommand ssh -q john at my-entry-server.hu -i ~/id_rsa_user_v2
 IdentityFile ~/id_rsa_user_v2
 }}}

 then it is just:

 {{{
 sshfs internal_server: my_local_folder/
 }}}

--
Ticket URL: <https://trac.cyberduck.io/ticket/2865#comment:42>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows


More information about the Cyberduck-trac mailing list