opscode/chef — pull request #1036 by wk8 (2013-10-09 23:06:18+00:00)
Title: New option for 'knife ssh' : --sudo-password

I'd like to add a new '--sudo-password' option to the 'knife ssh' command, to allow using 'knife ssh' with sudo in automated scripts.

I am aware that this has security limitations (hence the warning in the option description) but I do believe that this option could be really convenient.