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 some passphrase errors in exec and copy #16

Merged
merged 3 commits into from
Sep 1, 2020

Conversation

grodriguezl
Copy link
Contributor

@grodriguezl grodriguezl commented Feb 27, 2020

This error is raised when I try to use passphrase option
/var/lib/rundeck/libext/cache/openssh-node-execution-2.0.0/ssh-exec.sh: line 90: : No such file or directory

SSH_KEY_PASSPHRASE_STORAGE_PATH=$(mktemp "/tmp/.ssh-exec/ssh-passfile.$USER@$HOST.XXXXX")
echo "${!rd_secure_passphrase}" > "$SSH_PASS_STORAGE_PATH"

Variable created in L89 is not used in L90. Instead a copy/pasted variable ($SSH_PASS_STORAGE_PATH) is used in L90

Fixes a variable name that was wrong
Fix SSH_KEY_PASSPHRASE_STORAGE_PATH name and RUNSSH definition
@grodriguezl grodriguezl changed the title Update ssh-exec.sh Fix some passphrase errors in exec and copy Feb 28, 2020
@ltamaster ltamaster merged commit 8a77952 into rundeck-plugins:master Sep 1, 2020
@ltamaster ltamaster removed their request for review September 1, 2020 14:51
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.

2 participants