Hello all,
I created a script for launch a script on my linux server form Mikrotik router using ssh.
This is the script:
/system ssh address=192.168.51.1 user=test command="/bin/bash /opt/bin/power.sh ALL off"
or, only for test also:
/system ssh address=192.168.51.1 user=test command="/bin/echo ciao >>/tmp/ciao"
both works if I launch them from Mikrotik and linux terminal but they do not work if I launch they from Mikrotik "script" interface.
Can you help me?
Thanks