How to fix ‘sudo: no tty present and no askpass program specified‘ ?
SSH > Linux / Ubuntu / CentOS
Solution: sudo -S <cmd>
The -S (stdin) option causes sudo to read the password from the standard input instead of the terminal.
Free Guest Blog Posting for SEO
How to fix ‘sudo: no tty present and no askpass program specified‘ ?
SSH > Linux / Ubuntu / CentOS
Solution: sudo -S <cmd>
The -S (stdin) option causes sudo to read the password from the standard input instead of the terminal.