Wait fuck
This commit is contained in:
parent
094c867aca
commit
a21a925433
|
@ -18,10 +18,10 @@ startup_check() {
|
|||
echo Missing HOST in .env
|
||||
exit 1
|
||||
fi
|
||||
if [[ ! -e "~/.ssh/authorized_keys" ]]; then
|
||||
if [[ ! -e "~/.ssh/known_hosts" ]]; then
|
||||
echo "Running ssh keyscan"
|
||||
mkdir -p ~/.ssh
|
||||
ssh-keyscan $HOST > ~/.ssh/authorized_keys
|
||||
ssh-keyscan $HOST > ~/.ssh/known_hosts
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue