Skip to content

Instantly share code, notes, and snippets.

@Michael-Krohn
Last active March 12, 2021 11:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save Michael-Krohn/febb83d6cf981714cf82ac49c8290b69 to your computer and use it in GitHub Desktop.
Save Michael-Krohn/febb83d6cf981714cf82ac49c8290b69 to your computer and use it in GitHub Desktop.
  1. Download Cygwin: http://www.cygwin.com/
  2. During installation, keep default packages and also include all Kerberos libraries, krb5-workstation, krb5-auth-dialog(Search: krb) and wget.
  3. Open Cygwin terminal and get apt-cyg: wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg
  4. Install apt-cyg: install apt-cyg /bin (apt-cyg repo: https://github.com/transcode-open/apt-cyg)
  5. Install openssh: apt-cyg install openssh
  6. Get the latest Fermilab krb5.conf (http://computing.fnal.gov/authentication/krb5conf/Linux/krb5.conf) and put it in /etc
  7. Create a directory called .ssh in your home area and put the ssh config file (http://home.fnal.gov/~jamieson/temp/config) there. Here is more information to make sure your ssh config file is set up correctly: http://www.uscms.org/uscms_at_work/physics/computing/getstarted/uaf.shtml#prerequisiteSSHConfig
  8. Change the protections on the ssh config file: chmod 600 ~/.ssh/config
  9. Connect to the LPC through an X terminal:
    kinit username@FNAL.GOV
    startxwin #(If terminal doesn't automatically stay open, you can reopen it by finding it on your toolbar.)
    ssh -Y username@cmslpc-sl6.fnal.gov #(In the X terminal)
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment