From e883191bb80e9176ad76476a65e00c6ed2717606 Mon Sep 17 00:00:00 2001 From: Ludger Sicking <sicking@comenius.de> Date: Tue, 1 Oct 2024 08:38:38 +0200 Subject: [PATCH] =?UTF-8?q?was=20schl=C3=A4gt=20bei=20keyscan=20fehl=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .woodpecker/basic-ssh-on-alpine.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker/basic-ssh-on-alpine.yaml b/.woodpecker/basic-ssh-on-alpine.yaml index 6d79649..27cd68d 100644 --- a/.woodpecker/basic-ssh-on-alpine.yaml +++ b/.woodpecker/basic-ssh-on-alpine.yaml @@ -15,7 +15,7 @@ steps: - mkdir -p ~/.ssh - echo "$SSH_KEY" | tr -d '\r' > ~/.ssh/deployKey # the private key generated locally outside git/woodpecker... - chmod 600 ~/.ssh/deployKey - - ssh-keyscan -t rsa $SSH_HOST 2>/dev/null >> ~/.ssh/known_hosts - - chmod 600 ~/.ssh/known_hosts +# - ssh-keyscan -t rsa $SSH_HOST 2>/dev/null >> ~/.ssh/known_hosts +# - chmod 600 ~/.ssh/known_hosts #target user has to allow ssh connection of course - ssh -vvvv -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST "echo 'deployed by woodpecker' > ci_pipeline_is_ready.log"