-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix ssh-copy.sh for invalid indirect expansion #32
base: fix/21-invalid-indirect-expansion
Are you sure you want to change the base?
Fix ssh-copy.sh for invalid indirect expansion #32
Conversation
…alid-indirect-expansion RUN-839: Fix: rd_secure_passphrase: invalid indirect expansion
Unfortunately, we are also affected by the same problem. |
The patch works for me, it would be nice with a new release with it I tested on an Ubuntu 22.04 |
With every update the plugin is overwritten again. |
@thlc Line 120 should contain rd_secure_password, not rd_secure_passphrase. |
Thanks, good catch, I fixed it. |
We replaced the "openssh-node-execution-2.0.2.zip" with the modified openssh-node-execution-2.0.3.zip in the folder "/var/lib/rundeck/libext". This survives a reboot, but not a Rundeck update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
matches changes made to ssh-exec.sh
As a layman, I saw I could approve the PR. Was worth a shot. |
I also submitted a PR for this same thing. I'm happy to see any fix applied at this point. |
As the patch has still not been included in the latest update, here is an updated ZIP with the patch and an increased version number. This will prevent the patch from being reverted when updating/restarting Rundeck. Simply replace the openssh-node-execution-2.0.3.zip in the folder “/var/lib/rundeck/libext” with the openssh-node-execution-2.0.4.zip. This should last until the next update of the plugin. |
Any ETA when this will be released? |
Problem is still present... when will 2.0.4 included in the normal rundeck release? |
Wow, I was so young when I wrote this pull request! Kidding aside, it seems the problem might have been fixed through another more recent pull request -> #35 |
No not completely, the one on line 93 (for using a passphrase) is still there and still gives the same warning. |
As seen in bug #21, here is the same fix for
ssh-copy.sh
.Would close bug #31.