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.
Website Designing & Search Engine Marketing
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.