I\'ve been trying to write a small library using Thor to help assist me in quick creating new projects and sites. I wrote this small method:
def ssh(cmd)
I cheated by doing adding this:
sudouser ALL=(ALL:ALL) NOPASSWD: ALL
to /etc/sudoers
/etc/sudoers
Also, be sure to use visudo when editing!!!
visudo