Re: rsync / ssh / Firewall "Hole" coolness

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kurt Granroth
Date:  
To: plug-discuss
Subject: Re: rsync / ssh / Firewall "Hole" coolness
On Tuesday 25 January 2005 10:17 am, Ed Skinner wrote:
> rsync -v -r -e ssh Common/ user@system:Common/
>      Make the appropriate substitutions for user and system. This will end
> up in a cron entry (but gotta figure out where the password goes) that
> fires, for example, at 2:00AM.


As far as the password goes, you have (at least) two solutions.

Solution 1: Use a private key with an empty passphrase. This is the easiest
method but may be the most insecure (unsecure?) in the sense that if somebody
were to get access to your key, they would have complete access to your
system.

Solution 2: Use keychain (http://www.gentoo.org/proj/en/keychain/index.xml).
It's a shell script that 'caches' the password using ssh-agent. All you need
to do is type in your password once after a system boot and it will remember
it forever after... or shutdown, which ever comes first.

Kurt
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss