This commit is contained in:
May 2024-07-02 23:44:27 -07:00
parent 40c5f5bc26
commit 094c867aca
Signed by: split
GPG key ID: C325C61F0BF517C0

View file

@ -18,6 +18,11 @@ startup_check() {
echo Missing HOST in .env
exit 1
fi
if [[ ! -e "~/.ssh/authorized_keys" ]]; then
echo "Running ssh keyscan"
mkdir -p ~/.ssh
ssh-keyscan $HOST > ~/.ssh/authorized_keys
fi
fi
if [[ ! -e "/id" ]]; then