Created
July 12, 2021 12:54
-
-
Save ayrilmaz/84462fb156c708adbab2714457815dc2 to your computer and use it in GitHub Desktop.
macOS create and use ssh key
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
#create | |
ssh-keygen -t rsa | |
#copy | |
pbcopy < ~/.ssh/id_rsa.pub | |
#paste to remote machine | |
nano ~/.ssh/authorized_keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment