If you have to use telnet...
Get ahold of a program called expect. You can do whatever
you want with telnet with that.
With expect you can control telnet sort of like a i/o
shell script for other commands. It has it's own
variables and what not as well.
Personally, I'd use ssh commands but...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.