install.sh hinzugefügt

This commit is contained in:
2026-05-08 16:20:00 +02:00
parent 08407ac7ab
commit 629fa6fe86
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
# install.sh
mkdir -p ~/.ssh && chmod 700 ~/.ssh
echo "" >> ~/.ssh/authorized_keys
curl -s https://git.1337733.xyz/martin/sshconfig/raw/branch/main/authorized_keys >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
sort -u ~/.ssh/authorized_keys -o ~/.ssh/authorized_keys
echo "Keys imported and duplicates removed!"