Hello,
I have RouterOS 5.20. The following one line script (details changed to protect my client) works great from the terminal, but fails running in the Scheduler, or if I hit the Run Script button when in WebFig:
/system ssh 12.34.56.78 command=“./custom.sh param1 param2” user=“nonadmin”
‘nonadmin’ is using a dsa key for logging into the remote system. As I said, it works fine from the terminal.
Any suggestions on the cause of the problem? Is there a way to enable logging that will show me an error message and why it’s failing?
Thank you.