sudo: Sorry, you must have a tty to run sudo Error on a Linux and Unix nixCraft Updated Tutorials/Posts
I‘m trying to run the following command:ssh user@box.example.com sudo command1 /path/to/fileBut, an error is displayed follows:
sudo: sorry, you must have a tty to run sudo
OR
sudo: no tty present and no askpass program specified
How do I fix this problem on Linux or Unix based systems?This…
Read More