Skip to main content
Question

Rundeck sshj-ssh plugin no longer working with double quotes

  • June 10, 2026
  • 0 replies
  • 0 views

After upgrading to Rundeck 5.20.0; it looks like the ssj-ssh plugin no longer works with double-quoted commands in the job steps.  For example, the following used to work:

<exec>sudo "sh /u01/scripts/sre/myscript.sh ${option.parm1}"</exec>
 
We had to change it to the following in order for it to work:
<exec>sudo sh /u01/scripts/sre/myscript.sh ${option.parm1}</exec>

With double-quotes, the job returns:
 
[sudo] password for user1:
sudo: sh /u01/scripts/sre/myscript.sh userval1: command not found
[user1@serverxyz ~]$ echo $?
1
 
Note: This is on Oracle Linux 9 server.