Hello all,
I'm writing a script which will backup data from my machine to a server
using rsync. It checks to see if I am on the local network. If I am, it
runs rsync over ssh to 192.168.2.6 using the pexpect module to log in.
That's the easy part.
Now, when I'm not on the local network, I first w
On Tue, 04 Oct 2005 12:40:27 -0700, John Hazen wrote:
> I think what's happening is that when you return from 'hostforward', the
> connection is being closed because of garbage collection. Python uses
> (among other stuff) reference counting to tell it when to delete
> objects. After hostforward
On Sun, 02 Oct 2005 08:44:48 +0200, Fredrik Lundh wrote:
> Jesse Rosenthal wrote:
>
>> If I end this with 'connection.interact()', I will end up logged in to the
>> forwarding server. But what I really want is to go on and run rsync to
>> localhost port 2022, wh
Hello all,
I'm writing a script which will backup data from my machine to a server
using rsync. It checks to see if I am on the local network. If I am, it
runs rsync over ssh to 192.168.2.6 using the pexpect module to log in.
That's the easy part.
Now, when I'm not on the local network, I first w