Skip to content

Instantly share code, notes, and snippets.

@thepatrick
Created March 14, 2019 23:31
Show Gist options
  • Save thepatrick/dc6aa1ce826a575af3fad6e901662c96 to your computer and use it in GitHub Desktop.
Save thepatrick/dc6aa1ce826a575af3fad6e901662c96 to your computer and use it in GitHub Desktop.
#!/bin/bash
adduser patrick
adduser patrick admin
su - patrick -c "mkdir -p ~/.ssh && curl --silent https://github.com/thepatrick.keys > .ssh/authorized_keys"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment