Update install.sh

This commit is contained in:
2025-12-22 20:46:35 +01:00
parent 0f69177eee
commit 48a46a3abd

View File

@@ -45,12 +45,13 @@ curl http://192.168.0.187:3000/zoli/linux-configs/raw/branch/main/theme.conf -o
echo "[9/${steps}] deleting ~/.ssh/id_rsa"
rm ~/.ssh/id_rsa
echo "[9/${steps}] deleting ~/.ssh/id_rsa.pub"
echo "[10/${steps}] deleting ~/.ssh/id_rsa.pub"
rm ~/.ssh/id_rsa.pub
echo "[9/${steps}] creating SSH key"
echo "[11/${steps}] creating SSH key"
ssh-keygen -q -t rsa -N '' -f ~/.ssh/id_rsa <<<y >/dev/null 2>&1
echo "[9/${steps}] creating authorized_keys"
echo "[12/${steps}] creating authorized_keys"
cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys
echo "[13/${steps}] copying authorized_keys to rpi"
scp ~/.ssh/authorized_keys zoli@192.168.0.187:~/.ssh/