From: MR Damien Date: 2006-08-29T01:20:09+09:00 Subject: Re: Ruby + SSH + Sudo unknown wrote: >> fill the password. But I don't find anyway of filling it. ".send_data" >> doesn't work. >> >> Did I missed something ? > > The host is waiting for the ssh password or the sudo password? It may > not > meet your security requirements, but you could configure sudoers to > allow > that one user to run that small number of commands without a password: Hi all, Thanks for your answers. The script was waiting for the sudo password. I thought there was a way to provide the password manually with ruby but it seems that there is not. So I modified the sudoers for not asking password. -- Posted via http://www.ruby-forum.com/.