Skip to content

Instantly share code, notes, and snippets.

@clangley
Created May 17, 2024 14:19
Show Gist options
  • Save clangley/8db61448c35b5efff002e79d6bb80bf3 to your computer and use it in GitHub Desktop.
Save clangley/8db61448c35b5efff002e79d6bb80bf3 to your computer and use it in GitHub Desktop.
#!/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