Wait fuck

This commit is contained in:
May 2024-07-02 23:47:15 -07:00
parent 094c867aca
commit a21a925433
Signed by: split
GPG key ID: C325C61F0BF517C0

View file

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