From 7e462ede4ba951bebf91788916d247b39396d450 Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 8 Apr 2025 16:59:19 +0200 Subject: [PATCH] Adding port and cat --- .woodpecker.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 8e5259e..ad24f83 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -17,8 +17,9 @@ steps: - chmod 700 ~/.ssh # Create the SSH key file - echo "$SSH_KEY" > ~/.ssh/id_ed25519 + - cat ~/.ssh/id_ed25519 - chmod 600 ~/.ssh/id_ed25519 - - ssh-keyscan -t ed25519 git.polarolouis.fr >> ~/.ssh/known_hosts + - ssh-keyscan -t ed25519 git.polarolouis.fr -p 2220 >> ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts # Set the GIT_SSH_COMMAND to use the SSH key - export GIT_SSH_COMMAND="ssh -i ~/.ssh/id_ed25519 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"