If you are running an SSH based server configuration and you have a backup command that errors out with a message like the following:

sudo: no tty present and no askpass program specified

Then the user you are connecting as is being prompted to enter a sudo password when a command is executed

Note: Ottomatik issues commands using sudo when dependent components are needing to be installed.

There are 2 ways you can get around this. First is to install the components yourself on the command line. When ottomatik checks to see if the components are present, no installation command will be given if they are.

The second solution is to add your 'connect as' user to the "sudoers" file specifying that no password is required to execute sudo commands. You may do this temporarily for the first backup run or leave it for the future.

To do this edit the /etc/sudoers file (some systems like Ubuntu / Debian you can do this with "sudo visudo").

Then add the following line to the very end of the file. This example uses "forge" as the username:



We hope you find this helpful! If you need any further assistance, please contact us and we'll be more than glad to help you out. 

Did this answer your question?