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

Ok, based on a brief glance at the recommended manpages, that will probably solve the problem.
For curiosity's sake (and in case it doesn't), Anyone want to take another potshot at this?

Replies are listed 'Best First'.
RE: RE: Re: SSH Automation?
by merlyn (Sage) on Sep 27, 2000 at 03:44 UTC
    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

RE (tilly) 3: SSH Automation?
by tilly (Archbishop) on Sep 27, 2000 at 03:50 UTC
    merlyn already offered a solution, but in this case I can say that it does solve the problem. I have a lot of programs which use this to great effect, saving a lot of headaches. (As a security note, why bother having a password for the account at all?:-)