Sep 21, 2018

[HDGEM] How to fix: Sudo: Sorry, You Must Have a Tty to Run Sudo

Connect by ssh using -t options

-t Force pseudo-tty allocation. This can be used to execute arbitrary screen-based programs on a remote machine, which can be very useful, e.g. when implementing menu services. Multiple -t options force tty allocation, even if ssh has no local tty.

Posted By Blogger to HDGEM at 5/18/2017 12:14:00 PM