From 8d8645dcb4c44af61842aa3fcd1f7190450569f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Mon, 14 Jun 2021 22:43:57 +0200 Subject: [PATCH] Add known host for git.b12f.io --- .drone.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.drone.yml b/.drone.yml index 1ce91693..9caac7f3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,6 +14,7 @@ steps: - echo "root:x:0:0:System administrator:/root:/run/current-system/sw/bin/bash" >> /etc/passwd - mkdir -p ~/.ssh - echo $GITEA_SSH_KEY > ~/.ssh/id_rsa + - echo "[git.b12f.io]:2222 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ4uaREL7acSSCNAX+voDYl1Kj7JipP62fR5x1UyGP9u" >> ~/.ssh/known_hosts - echo "Host git.b12f.io" >> ~/.ssh/config - echo " Port 2222" >> ~/.ssh/config - chmod -R 600 ~/.ssh @@ -40,6 +41,7 @@ steps: - echo "root:x:0:0:System administrator:/root:/run/current-system/sw/bin/bash" >> /etc/passwd - mkdir -p ~/.ssh - echo $GITEA_SSH_KEY > ~/.ssh/id_rsa + - echo "[git.b12f.io]:2222 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ4uaREL7acSSCNAX+voDYl1Kj7JipP62fR5x1UyGP9u" >> ~/.ssh/known_hosts - echo "Host git.b12f.io" >> ~/.ssh/config - echo " Port 2222" >> ~/.ssh/config - chmod -R 600 ~/.ssh