Skip to content

Instantly share code, notes, and snippets.

@pjstadig
Last active April 12, 2023 10:27
Show Gist options
  • Save pjstadig/05558e5c33db0988f75d3098d7ea64de to your computer and use it in GitHub Desktop.
Save pjstadig/05558e5c33db0988f75d3098d7ea64de to your computer and use it in GitHub Desktop.
Small script to install authorized_keys on a host
#!/usr/bin/env bash
mkdir -p ~/.ssh
curl https://github.com/pjstadig.keys >~/.ssh/authorized_keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment