If you have 'expect' installed on your system you can use 'autoexpect -c ssh root@localhost' to create working native expect solution (script.exp). That may give ideas what is wrong with your perl script.
In reply to Re: perl expect moudule to interact with Linux terminal
by pme
in thread perl expect moudule to interact with Linux terminal
by kkbka
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |