Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Instructions to configure git on your computer:
- #Assuming you have an account on github/bitbucket with "username" & "email@server.com" & "passphrase"
- git config --global user.name "username"
- git config --global user.email "email@server.com"
- #optional step starts
- cd ~/.ssh
- rm id_rsa*
- #ends
- ssh-keygen -t rsa -C "email@server.com"
- #enter secret key
- KEY: passphrase
- cat ~/.ssh/id_rsa.pub > githubKey.txt
- #add ssh key to github/bitbucket
- ssh -T git@github.com
- ssh -T git@bitbucket.org
- # Test Setup - Attempts to ssh to github/bitbucket
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement