On Feb 7, 8:22 am, "wbsurf... / yahoo.com" <wbsurf... / gmail.com> wrote:
> The following program does not get past the part where sudo asks for a
> password. Any ideas ?
> This is run from windows onto a linux box, so I can't use a local ssh
> command.

This is just a guess as I haven't used Net::SSH, but you might need to
append a newline to the password that's being sent to sudo.

Also, there are Win32 ports of the ssh client so you probably could
use a local ssh command.