Sync repositories from gitolite.sgdev.org
NOTE: SSH key configuration is not yet available on Sourcegraph Cloud.
-
Create
~/.ssh/gitolite_ssh_keyand paste in the private key stored in 1Password -
Run
chmod 400 ~/.ssh/gitolite_ssh_keyto give it correct permissions -
Create
~/.ssh/gitolite_ssh_key.puband paste in the public key stored in same 1Password entry -
Edit
~/.ssh/known_hostsand add the "known hosts entry" from same 1Password entry -
Edit
~/.ssh/configand 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": "git@gitolite.sgdev.org", "prefix": "gitolite.sgdev.org/" }