I'm relatively new to posting here, so please pardon infelicities.
I'm trying to set up a duplicity backup through a 2-step ssh tunnel that I set up in config with one alias - call that alias "faraway". So for example
ssh faraway works fine (with the right key in
ssh-agent). But then when I try
duplicity local-dir sftp://faraway//remote-dir/
BackendException: ssh connection to [second-remote-server] failed: timed out
I read somewhere that duplicity reinvents
ssh in python or something, so I'm guessing that has to do with the problem, but I don't know to fix it.
Bonus questions: I'd really like to be able to throttle the bandwidth on this connection. Also, if there are any extra pitfalls to doing this in
cron, please warn me. (I have already learned some of the
cron pitfalls - I have duplicity working okay with
sshfs instead, but I can't easily throttle that without learning
tc it seems.)