From: Thai Wood Date: 2013-03-25T09:04:29+09:00 Subject: Re: Can't run sudo under ssh.exec! Tim Ash wrote in post #1102437: > it is suitable to do not change any thing in > the server side Maybe you can elaborate on what it is you're willing/able to change and not change. Use of sudo itself requires changes (editing of the sudoers file). If you've already done this, then I don't see why you can't use the NOPASSWD keyword in it (though I wouldn't recommend it). Alternatively you can pass the password to sudo on the command line via echo | sudo -S -- Posted via http://www.ruby-forum.com/.