known_hosts

This commit is contained in:
Marc Beninca 2024-03-23 09:52:09 +01:00
parent 538b1b70fb
commit 4ac2b666df
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

20
cd-init
View file

@ -1,7 +1,3 @@
export SSH='cd@de.tilde.link'
export TARGET="${SSH}:/cd/${GITHUB_REF_NAME}/${GITHUB_REPOSITORY}"
# packages # packages
apt-get install --yes \ apt-get install --yes \
@ -16,8 +12,14 @@ echo "${CD}" > ~/.ssh/id_ed25519
unset CD unset CD
chmod 400 ~/.ssh/id_ed25519 chmod 400 ~/.ssh/id_ed25519
ssh \ echo -n "\
-o StrictHostKeyChecking=accept-new \ |1|BcccCTMLpM9HHSgJmPu/FFOwOv0=|+3BKK02xibpCPxQ9Nghi2GbXLng= \
"${SSH}" \ ssh-ed25519 \
-- \ AAAAC3NzaC1lZDI1NTE5AAAAIPHCNcgHlQoiNTXfnUZYvHz9OZwYsmBCrSSV7a7Zche5
hostname " > ~/.ssh/known_hosts
# variables
export SSH="cd@de.tilde.link"
export TARGET="${SSH}:/cd/${GITHUB_REF_NAME}/${GITHUB_REPOSITORY}"