rsync via proxyjump

Mouse Brains

Cadet
Joined
Mar 11, 2014
Messages
2
I'm using TrueNAS SCALE 23.10.01. I'm trying to set up an Rsync Task that accesses a host via a ssh proxyjump. From the command line and in a crontab it works fine. When I add a "-e '/bin/ssh -J foo@bar.com'" as an auxiliary parameter, it appears to be ignored. I am able to add other rsync options as auxiliary options, but the -e appears to be overridden/ignored.

What am I missing?
 

Mouse Brains

Cadet
Joined
Mar 11, 2014
Messages
2
I solved this by a combination of observations. In the Rsync Task panel I enter two extra options, "-e" and "/usr/bin/ssh -F ~/.ssh/config" with the quotes required on the second option. Then I create ~/.ssh/config with the appropriate ssh_config options for connecting to the remote host using the required proxy_jump and other options.

N.B. The full username@hostname are required for the destination, i.e. it is not picked up out of the config file.
 
Top