Commit 484edf98 authored by Thomas Löffler's avatar Thomas Löffler

Use StrictHostKeyChecking when connecting between stage and production

parent 8d053b41
Pipeline #8656 passed with stages
in 6 minutes and 40 seconds
......@@ -96,5 +96,5 @@ Get dump for local environment:
Sync stage with production:
<<: *maintenance_template
- ssh -A -p${STAGE_PORT} ${STAGE_USER}@{STAGE_HOST} "ssh ${PRODUCTION_USER}@${SYNC_HOST} \"${PHP_EXECUTABLE_SYNC} ~/ci/current/vendor/bin/typo3cms database:export ${SYNC_EXCLUDE_TABLES_STRING}\" | ~/ci/current/vendor/bin/typo3cms database:import"
- ssh -A -p${STAGE_PORT} ${STAGE_USER}@{STAGE_HOST} "rsync -avz ${PRODUCTION_USER}@${SYNC_HOST}:~/ci/shared/private/fileadmin/ ~/ci/shared/private/fileadmin"
- ssh -A -p${STAGE_PORT} ${STAGE_USER}@{STAGE_HOST} "ssh -o StrictHostKeyChecking=no ${PRODUCTION_USER}@${SYNC_HOST} \"${PHP_EXECUTABLE_SYNC} ~/ci/current/vendor/bin/typo3cms database:export ${SYNC_EXCLUDE_TABLES_STRING}\" | ~/ci/current/vendor/bin/typo3cms database:import"
- ssh -A -p${STAGE_PORT} ${STAGE_USER}@{STAGE_HOST} "rsync -e \"ssh -o StrictHostKeyChecking=no\" -avz ${PRODUCTION_USER}@${SYNC_HOST}:~/ci/shared/private/fileadmin/ ~/ci/shared/private/fileadmin"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment