Author Topic: Jump-Server and key support in FTP Options  (Read 476 times)

pbrightly

  • Community Member
  • Posts: 68
  • Hero Points: 6
Jump-Server and key support in FTP Options
« on: August 30, 2023, 11:12:13 PM »
Most of the servers I manage have moved to cloud and are only accessible via jump server using ssh key-pairs. Further, they can use non-default ports.

I think the help (at least) should reference something for configuring the FTP profiles to use a jump server. I did this in the past and forgot how I accomplished it.  So... got lost again, figuring it out. I don't see explicit config options in slick, but if I set things up in my local ~/.ssh/config, it can work.

Some things I'd hoped to see in the config of a profile were:
- private key to use
- password for private key
- gateway (jump server) host, port (maybe separate key?)
- passthrough option

As it is, I've got all that junk setup in my config on disk.  Maybe share that in the help?
Code: [Select]
#===============
#   JUMP SERVER
#===============
Host dal13-jump dal10-jump
   User joeuser
   Port 12345
   IdentitiesOnly yes
   IdentityFile ~/.ssh/my-private-key.key

#===============
#   SERVERS
#===============
Host dal13-*
   ProxyJump dal13-jump
   User=joeuser
   IdentitiesOnly=yes
   IdentityFile ~/.ssh/my-private-key.key

Host dal10-*
   ProxyJump dal10-jump
   User=joeuser
   IdentitiesOnly=yes
   IdentityFile ~/.ssh/my-private-key.key

Something similar to that worked. It prompted me for a password the first time. Second time, it used the password I saved in the profile.  I selected "Auto" for auth-type and set user & password.