Skip to content

Instantly share code, notes, and snippets.

@dtenenba
Created July 22, 2015 21:39
Show Gist options
  • Save dtenenba/13036bff3724f813f6d9 to your computer and use it in GitHub Desktop.
Save dtenenba/13036bff3724f813f6d9 to your computer and use it in GitHub Desktop.
system('ssh-keygen -t rsa -C "[email protected]" -N "" -f ~/.ssh/id_rsa')
system("cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment