Skip to content

Instantly share code, notes, and snippets.

@nagahshi
Last active May 11, 2022 20:44
Show Gist options
  • Save nagahshi/19fab2aacdf460e609b3c7b18f6f0b06 to your computer and use it in GitHub Desktop.
Save nagahshi/19fab2aacdf460e609b3c7b18f6f0b06 to your computer and use it in GitHub Desktop.
configure git connect from ssh
# 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