Access to the project for an off-site user¶
cloning the repository¶
Make sure you have Kerberos credentials.
git clone ssh://email@example.com/cvs/projects/qss [<local-top-level-name>]
This will put a copy of the qss repository in your local area, with the top-level directory named
qss if not otherwise specified.
- access the repository through http if the project is public
git clone http://cdcvs.fnal.gov/projects/qsswhich allows to commit things to the local git repository, but cannot push any update to the remote
- get a service account at Fermilab https://fermi.service-now.com/kb_view.do?sysparm_article=KB0010788
- add the user as one of developers of the private project
- add a public-key file of a developer to the project .ssh/authorized_keys as the manager of the project
ssh firstname.lastname@example.org cd .ssh echo 'environment="REMOTEUSER=<user's-principal>" <pasted-public-key>' >> authorized_keys