diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..95ae396 --- /dev/null +++ b/install.sh @@ -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!" \ No newline at end of file