Fix SSH private key formatting and loading in deploy stage

6 jobs from main in 4 minutes and 25 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #4180
test_api

04:08

 
  Deploy
failed #4185
deploy_prod

00:17

failed #4184
deploy_prod

00:08

failed #4183
deploy_prod

00:10

failed #4182
deploy_prod

00:13

failed #4181
deploy_prod

00:27

 
Name Stage Failure
failed
deploy_prod Deploy
2026-08-01T12:32:31.450024Z 01O $ echo "Deploying to production server..."
2026-08-01T12:32:31.450030Z 01O Deploying to production server...
2026-08-01T12:32:31.450032Z 01O $ if [ -n "$SSH_PRIVATE_KEY" ]; then # collapsed multi-line command
2026-08-01T12:32:31.460577Z 01O Agent pid 23
2026-08-01T12:32:31.466528Z 01E Error loading key "/root/.ssh/id_ed25519": error in libcrypto: unsupported
2026-08-01T12:32:31.831311Z 00O
2026-08-01T12:32:31.847255Z 00O+
2026-08-01T12:32:31.847595Z 00O+Cleaning up project directory and file based variables
2026-08-01T12:32:32.467088Z 00O
2026-08-01T12:32:32.635660Z 00O ERROR: Job failed: exit code 1