Hi!
I’ve made a command line switch which send a different command for on or off, but it seems that it is not working… I am using sshpass command to switch some mPower power sockets on/off. In the SSH Terminal, the command it is working flawless, but when I try to use the switch, I get error in log and it is not working… The error is “Command failed”, you can check the photo for more datails.
How can I solve it, someone knows it?
Or how can I run a ssh command without password prompt? How to integrate the password in the ssh command?
Thanks in advance!