in reply to RE: Re: SSH Automation?
in thread SSH Automation?

The password is almost certainly being asked of /dev/tty, not standard input. This means that you need to use a pseudo-tty to fake out the program. Pseudo-ttys are managed by Expect and IO::Tty.

-- Randal L. Schwartz, Perl hacker