You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Use to link your SLAC accounts to GitHub

What do we use GitHub for?

While production versions of operations software live in ~/opsTools, they also remotely live on GitHub, in the SLAC GitHub organization called SLAC Lab. Access to it isn't granted automatically, but it's pretty easy to get!

Step-by-step guide

Note that this requires internet access. One of the ways to do that from an OPI is to click on the MD Page icon on the toolbar, but you could also just do it from a personal or Windows machine.

  1. If you don't have a GitHub account, make one
  2. Send your username to Brian Van Klaveren (email bvan@slac.stanford.edu or ping brianv on Slack) asking for access to SLAC Lab
    1. Note: This step has very high potential to end up out of date if someone else ends up managing SLAC Lab, so keep that in mind.
  3. Navigate over to the ops team on SLAC Lab and request to join
  4. Back on an OPI (or SSHed in), Run "set_profile [YOUR USERNAME]" then ssh into mcclogin
     
  5. From there, ssh into rhel6-64 
  6. From there, cat your ssh key
  7. Copy the entire output (starts with ssh-rsa and ends with your email address).
  8. Back on GitHub, go to your settings 
  9. And add a new SSH key
  10. Title it something descriptive, paste in the output you got from cat, and save it! 

    1. Note: the simplest way to do this is to use the MD Page browser on the OPI, but you could also work around it by emailing yourself the key or something (v not secure, but what can you do)

 

  • No labels