I am trying to guess the dropbear equivalent to this regular rsync command (using ssh with a proxy)
rsync -avz --delete -e "ssh -o 'ProxyCommand ssh user@proxyhost exec nc %h %p 2>/dev/null'" /tmp/a-folder user@host:/tmp
According to my search, it is all about the -J
option in dropbear ssh
but I can't manage to get it work.
What is the good way to achieve this ?
Additional informations : Dropbear is used for the client. Proxyhost is a regular Debian machine. Host is a Synology NAS.