known_hosts
This commit is contained in:
parent
538b1b70fb
commit
4ac2b666df
1 changed files with 11 additions and 9 deletions
20
cd-init
20
cd-init
|
@ -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}"
|
||||||
|
|
Loading…
Reference in a new issue