I am trying to automate my telnet login to several servers.
I am using 'autoexpect'
autoexpect telnet server
login: user
Passwordwd
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?
I am using 'autoexpect'
autoexpect telnet server
login: user
Passwordwd
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?