A Download Site for the Expect Tool
Date Posted: August 14, 2008 12:00 AM

In two articles this year, I've written about how to use the Expect tool to help you use OpenSSH on the i. Expect is a script language that lets you automate the use of interactive Unix programs. It reads data from the interactive screens and sends input to the programs (instead of having a user type that input), providing a convenient way to control an interactive program.

Expect is a free (i.e., public domain) tool from the National Institute of Standards and Technologies (NIST) of the U.S. government. NIST provides the source code for the Expect tool, and you're expected to download it and compile it yourself. To make things simpler, other folks have provided precompiled versions of Expect that you can simply download, install, and run. Unfortunately, the sites offering these downloads keep disappearing! I've been getting quite a few emails from folks who have read my articles and have tried to use Expect but can't find the download.

In the hope of reducing people's frustration with trying to find this tool, I've posted it on my own website at the following link:
http://www.scottklement.com/expect

To learn more about how to use Expect with OpenSSH, please see the following articles:

"The SSH, SCP, and SFTP Tools from OpenSSH" (System iNetwork Programming Tips, January 10, 2008):
http://systeminetwork.com/article/ssh-scp-and-sftp-tools-openssh

"OpenSSH: The Swiss Army Knife for Secure Networking" (System iNEWS, August 2008):
http://systeminetwork.com/article/openssh-swiss-army-knife-secure-networking

The NIST website that serves as the official home of Expect is here:
http://expect.nist.gov/

Good luck!


Want to use this article? Click here for options!
Want to subscribe? Click here!
There are no comments to display. Be the first to add your thoughts!
You must log on before posting a comment.

Are you a new visitor? Register Here
 

around the forums

PASE - HTMLDOC (Scott's binary version) Error: please Help!
Forum Name: RPG
16 May 2012 01:58 PM | Replies: 3
IFS directory structure
Forum Name: Systems Management
16 May 2012 11:52 AM | Replies: 2
IFS folder/file authority
Forum Name: Communications/Networking
16 May 2012 08:45 AM | Replies: 6

ProVIP Sponsors

BCD

Join Our Community!

Subscribe today to iPro Developer! iPro Developer is packed with technical know-how for developers of IBM i, iSeries, AS400 and System i. Sign up now to get your full subscriber benefits including:

  • Code available for download
  • Full access to the online article archive (including all System iNEWS ProVIP content)
  • Downloadable ebook with past 6 months of articles
  • Discounts on eLearning classes, self-paced training, in-person events, and more!
iPro Developer Newsletters
  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips