Skip to content
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

Open
wants to merge 3 commits into
base: fix/21-invalid-indirect-expansion
Choose a base branch
from

Conversation

thlc
Copy link

@thlc thlc commented Nov 23, 2022

As seen in bug #21, here is the same fix for ssh-copy.sh.
Would close bug #31.

L2JE and others added 2 commits June 6, 2022 11:40
…alid-indirect-expansion

RUN-839: Fix: rd_secure_passphrase: invalid indirect expansion
@Kuermel
Copy link

Kuermel commented Jan 24, 2023

Unfortunately, we are also affected by the same problem.
With the patch we could use our secured SSH config.
Is there a schedule when this will be added in a new version?

@hmn
Copy link

hmn commented Feb 2, 2023

The patch works for me, it would be nice with a new release with it

I tested on an Ubuntu 22.04

@Kuermel
Copy link

Kuermel commented Mar 3, 2023

With every update the plugin is overwritten again.
It would be nice if someone could merge this little fix.

@daniel-chamberland
Copy link

daniel-chamberland commented Mar 7, 2023

@thlc Line 120 should contain rd_secure_password, not rd_secure_passphrase.
@Kuermel It doesn't prevent the issue, but I've automated an update of the plugin in my environment to quickly fix this. See my comment here: #21 (comment)

@thlc
Copy link
Author

thlc commented Mar 7, 2023

@thlc Line 120 should contain rd_secure_password, not rd_secure_passphrase.

Thanks, good catch, I fixed it.

@Kuermel
Copy link

Kuermel commented Mar 7, 2023

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.
openssh-node-execution-2.0.3.zip

Copy link

@daniel-chamberland daniel-chamberland left a 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

@daniel-chamberland
Copy link

As a layman, I saw I could approve the PR. Was worth a shot.

@mleo2003
Copy link

mleo2003 commented Jan 4, 2024

I also submitted a PR for this same thing. I'm happy to see any fix applied at this point.

@Kuermel
Copy link

Kuermel commented May 23, 2024

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.

openssh-node-execution-2.0.4.zip

@doniz
Copy link

doniz commented Aug 5, 2024

Any ETA when this will be released?

@xeon1400
Copy link

Problem is still present... when will 2.0.4 included in the normal rundeck release?

@thlc
Copy link
Author

thlc commented Dec 11, 2024

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

@robmolenaar
Copy link

No not completely, the one on line 93 (for using a passphrase) is still there and still gives the same warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants