Created
June 15, 2023 17:57
-
-
Save rg3915/ac291786e33aa95c3948ef83cc2d9584 to your computer and use it in GitHub Desktop.
ssh-keygen ssh key gen
This file contains hidden or 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 -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
https://docs.github.com/pt/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent