(ALTERNATIVES) How 'rsync' two in a script with one password?
kitepilot at kitepilot.com
kitepilot at kitepilot.com
Sat Jul 17 06:42:35 MST 2010
One way to "provide the password once per connection" is using sshfs:
sshfs user at 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
joe at actionline.com 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 - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
More information about the PLUG-discuss
mailing list