Category: Programming

Deploy keys Github

Deploy keys gives you read access by default to a single repository. Deploy keys can be given write access when created in github.

In CentOS 7.

yum install rh-git29-git -y

Get public key to import to github.

cat ~/.ssh/id_rsa.pub

If you dont have a private/public key create one witht he following command

ssh-keygen -t rsa -b 4096 -C "you@email.com"

To test validation

ssh -T git@github.com