Sync repositories from gitolite.sgdev.org
-
Create
~/.ssh/gitolite_ssh_key
and paste in the private key stored in 1Password -
Run
chmod 400 ~/.ssh/gitolite_ssh_key
to give it correct permissions -
Create
~/.ssh/gitolite_ssh_key.pub
and paste in the public key stored in same 1Password entry -
Edit
~/.ssh/known_hosts
and add the "known hosts entry" from same 1Password entry -
Edit
~/.ssh/config
and add the following to tell SSH to use the key we just created when connecting togitolite.sgdev.org
:Host gitolite.sgdev.org User git IdentityFile ~/.ssh/gitolite_ssh_key IdentitiesOnly yes
-
Create an external service with the following configuration:
{ "host": "[email protected]", "prefix": "gitolite.sgdev.org/" }