aurfalien@gmail.com wrote:
I actually had to set both ssh keys and commented out the requiretty in the sudoers file.
What I was doing was having ssh called from a script and running a command on that remote host it was ssh-ing into.
I'm still missing why you'd need to sudo inside the remote shell instead of ssh'ing as the right user in the first place. Or at least why you'd require a password for it.