I'm having trouble figuring out what a commandResource actually looks like. The only example i've seen is listed below for Apache's page (not very helpful)
<sshexec host="somehost"
username="dude"
keyfile="${user.home}/.ssh/id_dsa"
commandResource="to_run"/>
So my peice looks like this
<sshexec host="${host}"
trust="yes"
username="${username}"
password="${password}"
commandResource="Commands.txt"/>
How do I design the format of Commands.txt? What i'd like to do is the following:
Command 1: sudo user runscript.sh
Command 2: "${password}" (password needs to be entered in the script as well)