Skip to content

Instantly share code, notes, and snippets.

@ayrilmaz
Created July 12, 2021 12:54
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 ayrilmaz/84462fb156c708adbab2714457815dc2 to your computer and use it in GitHub Desktop.
Save ayrilmaz/84462fb156c708adbab2714457815dc2 to your computer and use it in GitHub Desktop.
macOS create and use ssh key
#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