From: yermej Date: 2008-02-08T00:04:57+09:00 Subject: Re: using net::ssh shell to sudo to another user and execute commands On Feb 7, 8:22 am, "wbsurf...@yahoo.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.