When attempting to run a remote binary using sudo
on the remote box:
ssh remotehost "sudo ./binary"
I see this error:
sudo: no tty present and no askpass program specified
How can I work around this?
EDIT this is most definitely not a duplicate of the question suggested as such. The answers there are completely irrelevant. In fact, those changes to the sudoers file were already applied to the remote host.