install.sh hinzugefügt
This commit is contained in:
@@ -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!"
|
||||
Reference in New Issue
Block a user