Showing posts with label GIT Server Can access to github. Show all posts
Showing posts with label GIT Server Can access to github. Show all posts

Thursday, 27 December 2018

GIT: How to make sure your server can access to github?

https://help.github.com/articles/generating-ssh-keys

1. generate a key:


ssh-keygen -t rsa -C "your_email@example.com"

2. start ssh agent:

eval `ssh-agent -s`

3. add to ssh-agent:

ssh-add ~/.ssh/id_rsa

4. upload public key to your account in github

5. verify connection to github:

ssh -T git@github.com