Skip to content

Commit

Permalink
Merge pull request #35 from DarwisNarvaezDev/RSE-261
Browse files Browse the repository at this point in the history
RSE-261 Fix: OpenSSH CopyFile not working on Docker
  • Loading branch information
Jesus-Osuna-M authored Apr 17, 2024
2 parents 1f26cc8 + d8ea190 commit 761cec5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contents/ssh-copy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ if [[ "password" == "$authentication" ]] ; then
mkdir -p "/tmp/.ssh-exec"
SSH_PASS_STORAGE_PATH=$(mktemp "/tmp/.ssh-exec/ssh-passfile.$USER@$HOST.XXXXX")

if [[ -n "${!rd_secure_password}" ]]; then
echo "${!rd_secure_password}" > "$SSH_PASS_STORAGE_PATH"
if [[ -n "${rd_secure_password}" ]]; then
echo "${rd_secure_password}" > "$SSH_PASS_STORAGE_PATH"
else
echo "$RD_CONFIG_SSH_PASSWORD_STORAGE_PATH" > "$SSH_PASS_STORAGE_PATH"
fi
Expand Down

0 comments on commit 761cec5

Please sign in to comment.