Hi I'm having trouble with finding out how the ssh script is interpreted in combination with the "PA_" actions. So far I have success in making the following work:
As expected I get "active (running)" in the response. Now I want to do some more scripting commands. F.ex:
This however returns:
Why don't I get the length of the string? I have also experimenting with:
This also gives me:
I really can't figure out what is going on. Best, Rune asked 24 Mar '20, 07:49 run66 |
I didn't solve all but enough. The script I got working looks like this:
Also bash variables in PA_Details should be enclosed in quotes:
answered 25 Mar '20, 05:06 run66 |