SSH Key
Some checks failed
Build / Build for Android (push) Failing after 14s

This commit is contained in:
L3D 2023-05-12 00:58:00 +02:00
parent ebaa9f9ff3
commit 4273fd6e66
No known key found for this signature in database
GPG key ID: AD65B920933B4B20

3
.github/rsync.sh vendored
View file

@ -3,12 +3,13 @@
set -Eeuo pipefail
set -x
apt-get update -y && apt-get install -y rsync openssh-client keychain
apt-get update -y && apt-get install -y rsync openssh-client keychain tee
# README.md /tmp/ files.l3d.ch files ./secret_ssh_key
printf "Add SSH Private Key"
mkdir ~/.ssh
chmod 700 ~/.ssh
cat $5 | sha256sum
mv $5 ~/.ssh/id_ed25519
chmod 400 ~/.ssh/id_ed25519
ssh-keyscan -t ed25519 $3 | tee -a ~/.ssh/known_hosts