l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2006 Jan 06 12:22

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] [OT] Pumping a password using Expect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] [OT] Pumping a password using Expect

---------- Original Message ----------------------------------
From: Ken Bloom <kbloom@gmail.com>
Reply-To: "lugod's technical discussion forum" <vox-tech@lists.lugod.org>
Date:  Thu, 5 Jan 2006 21:48:10 -0600

On Thu, Jan 05, 2006 at 06:33:40PM -0700, timriley wrote:
> How do you have a crontab executed process using Expect
> pump a password to another computer?

Ken Bloom wrote:
> Is this an SSH password you're giving it? If so, try using an SSH
> keypair for authentication. A passwordless key is no less secure than
> having the password in the expect file (it's probably more secure),
> and you can even create single-purpose keys that can only be used to
> run a single command (see http://www.arches.uga.edu/~pkeck/ssh/,
> scroll down to "Single-purpose keys") 

My ultimate goal is to use public/private key pairs after I cross
the learning curve. Thanks for the resource:
http://www.arches.uga.edu/~pkeck/ssh/ . However, if someone
knows of a simple Expect flag to generate a tty when one
is missing, I'd appreciate the quick solution. 
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.