Purpose of this is to use a bash script to execute a remote API post on a mid-tier docker container to change digital signage layouts for emergency events: shooter weather etc. from an extension → IVR/pin → IVR alert menu.
Can execute bash script as root successfully; but having issues running as asterisk user in terminal. I think I am missing something basic I think but do not know what to do next.
To seemlessy ssh into another system you would need to have the ssh user’s public key copied to the servers authorized keys, have you done so for the asterisk user ?