Skip to content

Instantly share code, notes, and snippets.

@rg3915
Created June 15, 2023 17:57
Show Gist options
  • Save rg3915/ac291786e33aa95c3948ef83cc2d9584 to your computer and use it in GitHub Desktop.
Save rg3915/ac291786e33aa95c3948ef83cc2d9584 to your computer and use it in GitHub Desktop.
ssh-keygen ssh key gen
ssh-keygen -t rsa -b 4096 -C "regis********@****.com"
# id_rsa.pub
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
# copy
xclip -sel clip < ~/.ssh/id_rsa.pub
https://docs.github.com/pt/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment