From 4ac2b666df50a8dc05e74d356e47b4aa81953e3e Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 23 Mar 2024 09:52:09 +0100 Subject: [PATCH] known_hosts --- cd-init | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/cd-init b/cd-init index 6091431..79a9a46 100755 --- a/cd-init +++ b/cd-init @@ -1,7 +1,3 @@ -export SSH='cd@de.tilde.link' - -export TARGET="${SSH}:/cd/${GITHUB_REF_NAME}/${GITHUB_REPOSITORY}" - # packages apt-get install --yes \ @@ -16,8 +12,14 @@ echo "${CD}" > ~/.ssh/id_ed25519 unset CD chmod 400 ~/.ssh/id_ed25519 -ssh \ --o StrictHostKeyChecking=accept-new \ -"${SSH}" \ --- \ -hostname +echo -n "\ +|1|BcccCTMLpM9HHSgJmPu/FFOwOv0=|+3BKK02xibpCPxQ9Nghi2GbXLng= \ +ssh-ed25519 \ +AAAAC3NzaC1lZDI1NTE5AAAAIPHCNcgHlQoiNTXfnUZYvHz9OZwYsmBCrSSV7a7Zche5 +" > ~/.ssh/known_hosts + +# variables + +export SSH="cd@de.tilde.link" + +export TARGET="${SSH}:/cd/${GITHUB_REF_NAME}/${GITHUB_REPOSITORY}"