-
Notifications
You must be signed in to change notification settings - Fork 974
Github Notes
Chris Fregly edited this page Oct 12, 2018
·
25 revisions
cd <pipeline-root>
git config --global user.name "cfregly"
git config --global user.email "chris@fregly.com"
cd <pipeline-root>
git remote set-url origin git@github.com:PipelineAI/pipeline.git
- SSH Keys are provided by Github through your Github account
- Put your private
github_rsa
and publicgithub_rsa.pub
keys into~/.ssh/
- Modify permissions on this
github_rsa
file
chmod 600 ~/.ssh/github_rsa
eval $(ssh-agent -s)
- Run
ssh-add
and enter the passphrase used when creating the key pair
ssh-add ~/.ssh/github_rsa
Enter passphrase for ~/.ssh/github_rsa: <your-passphrase>
- If you see the following error, start from this step.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
- If you see the following error, make sure you ran modified the permissions on your
github_rsa
file above
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/root/.ssh/github_rsa' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Slack | PipelineAI | San Francisco | Chicago | Austin | Washington DC | London | Dusseldorf