Update install.sh
This commit is contained in:
13
install.sh
13
install.sh
@@ -41,3 +41,16 @@ then
|
||||
fi
|
||||
echo "[8/${steps}] downloading theme.conf"
|
||||
curl http://192.168.0.187:3000/zoli/linux-configs/raw/branch/main/theme.conf -o ~/.config/kitty/theme.conf
|
||||
|
||||
|
||||
echo "[9/${steps}] deleting ~/.ssh/id_rsa"
|
||||
rm ~/.ssh/id_rsa
|
||||
echo "[9/${steps}] deleting ~/.ssh/id_rsa.pub"
|
||||
rm ~/.ssh/id_rsa.pub
|
||||
|
||||
|
||||
echo "[9/${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"
|
||||
cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys
|
||||
scp ~/.ssh/authorized_keys zoli@192.168.0.187:~/.ssh/
|
||||
|
||||
Reference in New Issue
Block a user