Skip to content

Instantly share code, notes, and snippets.

@ishansharma
Created February 16, 2019 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ishansharma/f765bfede3199c285393382e4f42b2bd to your computer and use it in GitHub Desktop.
Save ishansharma/f765bfede3199c285393382e4f42b2bd to your computer and use it in GitHub Desktop.
Generate SSH Key and Add to Authorized Keys
ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa
cat /home/vagrant/.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