How 'rsync' two in a script with one password?

2010-07-16 Thread joe
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 separat

Re: How 'rsync' two in a script with one password?

2010-07-16 Thread Bryan O'Neal
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, wrote: > > How can I use two

Re: How 'rsync' two in a script with one password?

2010-07-16 Thread kitepi...@kitepilot.com
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 ke

Re: How 'rsync' two in a script with one password?

2010-07-16 Thread Bryan O'Neal
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.

OT (spammy) 19" 7ft (42u) server rack for sale

2010-07-16 Thread James Finstrom
Have a server rack up on craigslist from my employer for $75 if anyone is interested. http://phoenix.craigslist.org/evl/sys/1843376968.html -- James Finstrom --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubs

Re: OT (spammy) 19" 7ft (42u) server rack for sale

2010-07-16 Thread Shawn Badger
So is there any particular reason you posted it with a picture of a NIC instead of the rack? On Fri, Jul 16, 2010 at 9:48 AM, James Finstrom < jfinst...@rhinoequipment.com> wrote: > Have a server rack up on craigslist from my employer for $75 if anyone is > interested. > > http://phoenix.craigsl

Re: How 'rsync' two in a script with one password?

2010-07-16 Thread Dazed_75
Nice presentation Brian. I'm not sure who is organizing the east side meetings these days but I would bet many people would like to see this. Larry --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or t

Re: How 'rsync' two in a script with one password?

2010-07-16 Thread Bryan O'Neal
Sure I have no issue dusting off an old ASULUG presentation for east side. Timing can be an issue though so don't count me in for any particular meeting without asking first ;) On Fri, Jul 16, 2010 at 10:51 AM, Dazed_75 wrote: > Nice presentation Brian.  I'm not sure who is organizing the east si

How 'rsync' two in a script with one password?

2010-07-16 Thread gm5729
> >   1. How 'rsync' two in a script with one password? >      (j...@actionline.com) > > Message: 1 > Date: Fri, 16 Jul 2010 09:28:19 -0600 > From: j...@actionline.com > To: plug-discuss@lists.plug.phoenix.az.us > Subject: How 'rsync' two in a script with one password? -- You do and you don't. You

OT inexpensive home rack

2010-07-16 Thread keith smith
I do LAMP development and I was thinking of moving away from multiple CPU boxes, keyboards, and mice. The post on the rack got me thinking.  I would like to replace my desktop and dev box with two rack mount computer boxes.  Then all I need is one monitor, keyboard, and mouse by using a KVM sw

Re: OT inexpensive home rack

2010-07-16 Thread Shawn Badger
Ikea has one http://www.instructables.com/id/The-$70-IKEA-Mini-Server-Rack/ On Fri, Jul 16, 2010 at 1:58 PM, keith smith wrote: > > I do LAMP development and I was thinking of moving away from multiple CPU > boxes, keyboards, and mice. > > The post on the rack got me thinking. I would like

how to generate an image only html file in bash

2010-07-16 Thread Technomage
here's what I'd like to do: 1. create individual html files for each picture (number not important) 2. have each html file display the current image with an href to the next in order image in the directory 3. have the first html file linked from inside index.html (such that it shows the first im

Re: How 'rsync' two in a script with one password?

2010-07-16 Thread keith smith
Hi Joe, Ran into this today http://troy.jdmz.net/rsync/index.html Keith Smith --- On Fri, 7/16/10, j...@actionline.com wrote: From: j...@actionline.com Subject: How 'rsync' two in a script with one password? To: plug-discuss@lists.plug.phoenix.az.us Date: Friday, Jul

Re: OT inexpensive home rack

2010-07-16 Thread keith smith
Very interesting.  Did you see the one where the guy put a lazy susan on it so he could easily have access to the back of the computers? Keith Smith --- On Fri, 7/16/10, Shawn Badger wrote: From: Shawn Badger Subject: Re: OT inexpensive home rack To: "Main PLUG disc

Re: How 'rsync' two in a script with one password?

2010-07-16 Thread joe
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@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail

Re: how to generate an image only html file in bash

2010-07-16 Thread Tuna
Why not use a bash CGI script for this? Use this as a starting point http://www.intuitive.com/wicked/showscript.cgi?073-photoalbum.cgi I recommend you check out that book too, it's a lot of fun. Excerpts from Technomage's message of Fri Jul 16 18:59:36 -0700 2010: > here's what I'd like to do: