ci: fix Host key verification failed #205
|
@ -33,9 +33,7 @@ steps:
|
||||||
- echo "$$PRIVATE_SSH_KEY" > $$HOME/.ssh/id_ed25519 && chmod 600 $$HOME/.ssh/id_ed25519
|
- echo "$$PRIVATE_SSH_KEY" > $$HOME/.ssh/id_ed25519 && chmod 600 $$HOME/.ssh/id_ed25519
|
||||||
- echo "$$SSH_HOST_KEY" > $$HOME/.ssh/known_hosts
|
- echo "$$SSH_HOST_KEY" > $$HOME/.ssh/known_hosts
|
||||||
# SSH uses HOME from /etc/passwd, not from the environment, so override it
|
# SSH uses HOME from /etc/passwd, not from the environment, so override it
|
||||||
- export SSHOPTS="-o UserKnownHostsFile=$$HOME/.ssh/known_hosts -i $$HOME/.ssh/id_ed25519 -v"
|
- export SSHOPTS="-o UserKnownHostsFile=$$HOME/.ssh/known_hosts -i $$HOME/.ssh/id_ed25519"
|
||||||
- echo DEBUG SSHOPTS
|
|
||||||
- echo $$SSHOPTS
|
|
||||||
- "echo DEBUG: Using NIX_FLAGS: $$NIX_FLAGS"
|
- "echo DEBUG: Using NIX_FLAGS: $$NIX_FLAGS"
|
||||||
- nix $$NIX_FLAGS develop --command deploy --magic-rollback false --skip-checks --targets '.#host_001_momo_koeln' --ssh-opts="$$SSHOPTS"
|
- nix $$NIX_FLAGS develop --command deploy --magic-rollback false --skip-checks --targets '.#host_001_momo_koeln' --ssh-opts="$$SSHOPTS"
|
||||||
|
|
||||||
|
@ -163,6 +161,6 @@ volumes:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 6d2495181ae2acd3f3a44d34591ba79315862d22c1e62c580bfba1a4c4fe822a
|
hmac: 3edb1779f39db0416f8395a1b0d52bd07cf51b4a181059ecdcf6f1dbfc595a49
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue