Browse Source

Merge 6ca19fb003 into d795cb4850

pull/6687/merge
Jérémy Lal 5 days ago
committed by GitHub
parent
commit
d23220b8cb
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      deploy/ssh.sh

2
deploy/ssh.sh

@ -239,7 +239,7 @@ then rm -rf \"\$fn\"; echo \"Backup \$fn deleted as older than 180 days\"; fi; d
fi
else
# ssh echo to the file
_cmdstr="$_cmdstr echo \"$(cat "$_ckey")\" > $DEPLOY_SSH_KEYFILE;"
_cmdstr="$_cmdstr echo \"$(cat "$_ckey")\" > $DEPLOY_SSH_KEYFILE; chmod 600 $DEPLOY_SSH_KEYFILE;"
_info "will copy private key to remote file $DEPLOY_SSH_KEYFILE"
if [ "$DEPLOY_SSH_MULTI_CALL" = "yes" ]; then
if ! _ssh_remote_cmd "$_cmdstr"; then

Loading…
Cancel
Save