Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

expect question

Status
Not open for further replies.

mag007

IS-IT--Management
Nov 8, 2006
99
US
I am trying to automate my telnet login to several servers.


I am using 'autoexpect'
autoexpect telnet server
login: user
Password:pwd

exit
autoexpect done, file is script.exp

When I try to run 'script.exp', it connects to the server but just holds there, I have to press ctrl+D, to completly logout.
Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top