[ale] Question about scripting...

Chuck Payne terrorpup at gmail.com
Mon Aug 10 10:28:52 EDT 2009


On Mon, Aug 10, 2009 at 10:21 AM, James Sumners<james.sumners at gmail.com> wrote:
> Instead of sending the username and password on every connect, why
> don't you setup shared key-pairs[1]? I don't like using them for
> regular user interaction (I _want_ to type my password when I ssh to a
> remote host), but they make doing what you want to do a LOT easier.
>
>
> [1] -- http://sial.org/howto/openssh/publickey-auth/
>
> On Mon, Aug 10, 2009 at 9:54 AM, Chuck Payne<terrorpup at gmail.com> wrote:
>> Thanks Scott, I am seeing that from the mailing list, the one problem
>> is I don't know perl well enough to write one. I know bash. But you
>> can automate the scp in bash, I could do it with expect, but we don't
>> have expect install on the boxes, so perl was the next choice, I am
>> currently searching for example of perl script that does this or even
>> python.
>
>
> --
> James Sumners
> http://james.roomfullofmirrors.com/
>
> "All governments suffer a recurring problem: Power attracts
> pathological personalities. It is not that power corrupts but that it
> is magnetic to the corruptible. Such people have a tendency to become
> drunk on violence, a condition to which they are quickly addicted."
>
> Missionaria Protectiva, Text QIV (decto)
> CH:D 59
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>


Usually I would. I already have a script that does an rsync of key
directories, but because these boxes are not in our group, I was ask
to do a simple back up to our boxes. It very political.  I only got
ask to help, because some how being a LAMP guy translate to being a
JBOSS guy.  Any way guys, thanks for the help.

-- 
----------------------------------------
Old utilities do not die they just slowly fade away!
-----------------------------------------
OpenSUSE -- http://en.opensuse.org/User:Terrorpup
OpenSuSE Ambassador
OpenSuSE Member
Skype -- terrorpup
twitter -- terrorpup


More information about the Ale mailing list