[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-talk] tunneling
From: |
ST |
Subject: |
[Duplicity-talk] tunneling |
Date: |
Thu, 12 Mar 2015 11:26:43 +0200 |
Hi,
I want to make a backup using duplicity (which uses paramiko) and upload
files to a remote host R2, the problem is, that I can access R2(sftp
access) only from R1(ssh access). How can I tunnel duplicity through R1
to R2? I defined (in .ssh/config) Host R2 and ProxyCommand ssh -p XXXX
-qW %h:%p address@hidden and I can actually do `sftp address@hidden but when I
run
`duplicity Dir sftp://address@hidden/` there is a delay and I get
"BackendException: ssh connection to R2:22 failed: timed out". Is there
a way to tell paramiko to use my .ssh/config? Or is there a way to
tunnel through another host in paramiko?
My duplicity version 0.6.18, seems not to have --ssh-backend option, so
I cann't choose pexpect... or am I wrong?
Thank you.
Simone
- [Duplicity-talk] tunneling,
ST <=