[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] Scp calls
From: |
Peter Valdemar Mørch (Lists) |
Subject: |
Re: [Duplicity-talk] Scp calls |
Date: |
Wed, 06 Jan 2010 09:44:27 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
If you want to make sure only to know once, I was thinking of a simple
workaround:
Before calling duplicity, do the port knocking and open an ssh
connection that does a port forward. *That* ssh connection stays open
for the entire duplicity duration and knocking is only needed once.
Then let duplicity use ssh over the port forwarded connection.
Something like:
<script>
open_port_via_port_knocking
ssh -f -N -L 2222:localhost:22 some.server.com
duplicity /home/me scp://user[:address@hidden:2222/some_dir
kill_ssh_connection
</script>
(Hope that makes sense)
Yes, you'll get the ssh overhead twice, but perhaps that doesn't matter
much in your case. And perhaps some netcat magic could be used instead
of the SSH port forwarding to eliminate that overhead, I don't know.
Peter
--
Peter Valdemar Mørch
http://www.morch.com
- Re: [Duplicity-talk] Scp calls, (continued)
- Re: [Duplicity-talk] Scp calls, Kenneth Loafman, 2010/01/03
- Re: [Duplicity-talk] Scp calls, AJ Weber, 2010/01/04
- Re: [Duplicity-talk] Scp calls, Jacob Godserv, 2010/01/04
- Re: [Duplicity-talk] Scp calls, AJ Weber, 2010/01/04
- Re: [Duplicity-talk] Scp calls, Gabriel Ambuehl, 2010/01/04
- Re: [Duplicity-talk] Scp calls, AJ Weber, 2010/01/04
- Re: [Duplicity-talk] Scp calls, Gabriel Ambuehl, 2010/01/04
- Re: [Duplicity-talk] Scp calls, AJ Weber, 2010/01/04
- Re: [Duplicity-talk] Scp calls, Tim Riemenschneider, 2010/01/05
- Re: [Duplicity-talk] Scp calls, AJ Weber, 2010/01/05
- Re: [Duplicity-talk] Scp calls,
Peter Valdemar Mørch (Lists) <=
- Re: [Duplicity-talk] Scp calls, AJ Weber, 2010/01/06
- Re: [Duplicity-talk] Scp calls, Jacob Godserv, 2010/01/05