Last active
May 11, 2022 20:44
-
-
Save nagahshi/19fab2aacdf460e609b3c7b18f6f0b06 to your computer and use it in GitHub Desktop.
configure git connect from ssh
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
| # to list SSH keys | |
| ls -al ~/.ssh | |
| # generate u key pair, substituing by ur Email account (github, bitbucket) | |
| ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
| # initialize ssh agent | |
| eval "$(ssh-agent -s)" | |
| # add ssh agent in key | |
| ssh-add ~/.ssh/id_rsa | |
| # append ur public key in access key github||bitbucket | |
| ~/.ssh/id_rsa.pub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment