Sync repositories from gitolite.sgdev.org
Create
~/.ssh/gitolite_ssh_key
and paste in the private key stored in 1PasswordRun
chmod 400 ~/.ssh/gitolite_ssh_key
to give it correct permissionsCreate
~/.ssh/gitolite_ssh_key.pub
and paste in the public key stored in same 1Password entryEdit
~/.ssh/known_hosts
and add the “known hosts entry” from same 1Password entryEdit
~/.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": "git@gitolite.sgdev.org", "prefix": "gitolite.sgdev.org/" }