Created
February 16, 2019 21:06
-
-
Save ishansharma/f765bfede3199c285393382e4f42b2bd to your computer and use it in GitHub Desktop.
Generate SSH Key and Add to Authorized Keys
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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