(ALTERNATIVES) How 'rsync' two in a script with one password…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: kitepilot@kitepilot.com
Date:  
To: Main PLUG discussion list
Old-Topics: Re: How 'rsync' two in a script with one password?
Subject: (ALTERNATIVES) How 'rsync' two in a script with one password?
One way to "provide the password once per connection" is using sshfs:

sshfs user@remotehost:/path/I/care /where/I/want/it

Give your password and the mount will persist until either machine is booted
or the connection dies.

Now you can:
rsync -[all I want] /path/to/save/ /where/I/want/it

Also take a look at:
http://sourceforge.net/projects/sshpass/
which I have used in "EXTREME" situations (I hate files containing passwords
and WHEN I HAVE TO, I chmod them ti 0400)
ET



writes:

>
> Thanks to Bryan and Keith for the helpful tips.
>
> Keith added this:
>> Ran into this today http://troy.jdmz.net/rsync/index.html
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

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