Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Automating rsync through a script

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] Automating rsync through a script
  • Date: Tue, 30 Sep 2003 16:56:23 -0700

>
> Another option here would be to use public/private key system. Generate
> your keys, drop the public key on gambit.gotdns.org and leave the private
> key unencrypted on the local machine. Not any less secure than having the
> password in the script itself. If you're willing to type in a passphrase
> when you boot the machine, you could use ssh-agent and the private key
> would be kept encrypted.

you still have to run expect eof or interact, or you end up in the
same place with the script exiting prematurely. but using ssh-agent for
authentication is more elegant and easy than keeping your password in
an expect script.

--
________________________________________________________________________
|Andrew D. Stitt | astitt AT sourcemage.org |
|irc: afrayedknot | afrayedknot AT t.armory.com |
|aim: thefrayedknot or iteratorplusplus | |
|Grimoire Guru ham/smgl, Porting Team Lead | ftp://t.armory.com |
|Author and Maintainer of Prometheus | |
-------------------------------------------------------------------------




Archive powered by MHonArc 2.6.24.

Top of Page