<div dir="ltr">No problem - with ssh it's easy enough there is a lot of documentation out there<div>to help. I think this one is pretty straight forward:</div><div><br></div><div><a href="https://www.digitalocean.com/community/articles/how-to-set-up-ssh-keys--2">https://www.digitalocean.com/community/articles/how-to-set-up-ssh-keys--2</a><br>
</div><div><br></div><div>Use an empty passphrase for unattended logins. If you have any trouble just</div><div>let me know and include the output of commands where you're stuck. (such as</div><div>ssh -v <a href="mailto:website@box123.bluehost.com">website@box123.bluehost.com</a>)</div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 28, 2014 at 9:34 AM,  <span dir="ltr"><<a href="mailto:joe@actionline.com" target="_blank">joe@actionline.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Brian ...<br>
<br>
but I don't know how to do either of those things ???<br>
<br>
<br>
---------<br>
> That's rsync over ssh so you can use pub key auth.<br>
> Or do it over tcp/873 and use $RSYNC_PASSWORD<br>
<br>
---------<br>
>> On Jan 27, 2014 joe wrote:<br>
>><br>
>> rsync question:<br>
>><br>
>> I have a shell script similar to the following (but longer) that I use<br>
>> to copy/sync/backup selected directories and files from my main<br>
>> computer<br>
>> to a backup computer and also to copy/sync/backup those selected<br>
>> directories and files to my web-hosted space.<br>
>><br>
>> This all works fine, except I have to enter the password for each<br>
>> segment.<br>
>> Is there some way that I could embed the password in this shell script<br>
>> so<br>
>> I do not have to manually type the password each time?<br>
>><br>
>> echo "starting files copy/sync/backup"<br>
>><br>
>> rsync -avH --delete --progress /home/joe/dir1/<br>
>> joe@192.168.0.64:/home/joe/dir1/<br>
>> rsync -avH --delete --progress /home/joe/dir2/<br>
>> joe@192.168.0.64:/home/joe/dir2/<br>
>> rsync -avH --delete --progress /home/joe/dir3/<br>
>> joe@192.168.0.64:/home/joe/dir3/<br>
>><br>
>> rsync -avHp --progress /home/joe/dir1/<br>
>> website@box123.bluehost.com:www/dir1/<br>
>> rsync -avHp --progress /home/joe/dir2/<br>
>> website@box123.bluehost.com:www/dir2/<br>
>> rsync -avHp --progress /home/joe/dir3/<br>
>> website@box123.bluehost.com:www/dir3/<br>
>><br>
>> echo "FINISHED"<br>
<br>
<br>
<br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>- Brian
</div>