Skip to content

Instantly share code, notes, and snippets.

@marco-souza
Last active January 4, 2020 19:49
Show Gist options
  • Save marco-souza/f48284230d7c70a5f1b8c2fc87482cd4 to your computer and use it in GitHub Desktop.
Save marco-souza/f48284230d7c70a5f1b8c2fc87482cd4 to your computer and use it in GitHub Desktop.
Dev/Ops Sheets

authorize your local key

cat ~/.ssh/id_rsa.pub | ssh <user@host> 'cat >> .ssh/authorized_keys'

Add user

adduser <name>

Add user to group

usermod -aG <group> <name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment