How 'rsync' two in a script with one password?
Bryan O'Neal
Bryan.ONeal at TheONealAndAssociates.com
Fri Jul 16 09:48:16 MST 2010
LOL - DSA / RSA which ever you want :)
As I understand it they both provide near equivalent security. And
while DSA is a federal standard RSA is evolving more rapidly. If you
really want to increase your security just up the number of bits in
the key. The big issue is implantation of the standard. Improper
padding, etc, can create exploits. To the best of my knowledge there
are no current open ssl exploits for either, but Lisa or some one else
may know better then I in this regard.
On Fri, Jul 16, 2010 at 9:09 AM, kitepilot at kitepilot.com
<kitepilot at kitepilot.com> wrote:
> And, (cough, cough!, excuse my ignorance):
> Why 'ssh-keygen -t rsa' instead of 'ssh-keygen -t dsa' ?
> I have "heard" that 'dsa' is "better" that 'rsa' (and accepted that) but I
> don't recall how or why it's "better".
> ET
>
>
>
> Bryan O'Neal writes:
>>
>> The easiest way is to use SSH encryption with key based authentication
>> to the remote box. If it sounds hard it certainly is not check out my
>> blog post here
>>
>> http://mlwtech.blogspot.com/2009/04/rsync-and-ssh-keys-presentation-on.html
>> On Fri, Jul 16, 2010 at 8:28 AM, <joe at actionline.com> wrote:
>>>
>>> How can I use two (or more) 'rsync' commands in a single script without
>>> having to enter the password separately for each one?
>>> Below is a shortened example of a shell script that I use to update files
>>> from my local computer to my web host. It works fine, except I have to
>>> enter the password separately for each of the 'rsync' commands.
>>> How can I modify this so I only have to enter the password once (or
>>> perhaps embed the password for each one within the script)?
>>> # update.blue
>>> rsync -avHp --progress /home/joe/mydata/upquick/
>>> vsiq at box5.bluehost.com:www/upquick/
>>> rsync -avHp --progress /home/joe/mydata/zip/
>>> vsiq at box5.bluehost.com:www/zip/
>>> rsync -avHp --progress /home/joe/mydata/av7/
>>> vsiq at box5.bluehost.com:www/av7/
>>>
>>>
>>> ---------------------------------------------------
>>> 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
>>
>> ---------------------------------------------------
>> 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
>
> ---------------------------------------------------
> 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