The issue is that ssh doesn't read the password from STDIN but directly from the tty and Perl doesn't offer a way to manipulate ttys/ptys without using some non core module.
In reply to Re: SSH and expect without module
by salva
in thread SSH and expect without module
by touriste75
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |