It sounds as if you might benefit from using Expect.
Also, please don't send your root password in the clear over telnet. Not even on a local network.
In reply to Re: Troubles with Telnet module
by hippo
in thread Troubles with Telnet module
by Pohkaymon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |