Created
May 17, 2024 14:19
-
-
Save clangley/8db61448c35b5efff002e79d6bb80bf3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
wget https://github.com/$USER | |
mkdir -p /home/$(whoami)/.ssh/ | |
export KEYS=$(cat $KEYS) | |
echo "$KEYS" >> /home/$(whoami)/.ssh/authorized_keys | |
chmod 600 /home/$(whoami)/.ssh/authorized_keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment