Advertisement

01.18.2008 at 08:18AM PST, ID: 23093761
[x]
Attachment Details

Expect script for HP procurve with tacacs auth

Asked by andrew_89 in TCL Scripting Language, Unix Systems Programming

Tags: procurve, tacacs, expect, hp, script

I have an expect script that will go and perform many different actions on various switches. This has worked great, however I have changed authetnication on switch to tacacs+.

Now when the script logs in via ssh and enters password on an hp procurve... it gets this below??


Connecting to Tacacs server



Press any key to continue

If you press the key all is fine and you are taken to prompt for enable login. How do I get around this in expect. It wont move without a key pressed??
Start Free Trial
[+][-]01.19.2008 at 04:39AM PST, ID: 20697012

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.19.2008 at 05:15AM PST, ID: 20697118

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.19.2008 at 06:15AM PST, ID: 20697303

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: TCL Scripting Language, Unix Systems Programming
Tags: procurve, tacacs, expect, hp, script
Sign Up Now!
Solution Provided By: andrew_89
Participating Experts: 2
Solution Grade: B
 
 
[+][-]01.19.2008 at 06:25AM PST, ID: 20697346

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628