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

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: kitepilot@kitepilot.com
Fecha:  
A: Main PLUG discussion list
Temas antiguos: Re: How 'rsync' two in a script with one password?
Asunto: (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