User Tools

Site Tools


keller_and_evans_lab:cu_research_computing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
keller_and_evans_lab:cu_research_computing [2019/10/08 10:19]
matthew_keller
keller_and_evans_lab:cu_research_computing [2020/02/12 09:02]
lessem [Logging in]
Line 5: Line 5:
 ======= Getting started ======= ======= Getting started =======
  
-General documentation for using RC is [[[https://curc.readthedocs.io/en/latest/|on their website]]]. We recommend that ALL new users first read these overviews. In particular: +General documentation for using RC is [[[https://curc.readthedocs.io/en/latest/|on their website]]]. We recommend that ALL new users first read these overviews on that webpage. In particular: \\
 Logging In <which you've already done> Logging In <which you've already done>
 Duo 2-factor Authentication <which you've already done> Duo 2-factor Authentication <which you've already done>
Line 24: Line 24:
 ======= Overview of best practices ======= ======= Overview of best practices =======
  
-This was written by Richard Border on Oct 8, 2019: +[[https://docs.google.com/presentation/d/1yQToDgohYZIzwu9NL0Z5ORpmN-9qeY3cpT7RDusEg-w/edit?usp=sharing|Richard Border's slides]] from October 2019 (might be out of date) 
-{{file_example.jpg}}+
  
  
 ======= Logging in ======= ======= Logging in =======
  
-Put these settings in your ''~/.ssh/config'' file so you only have to enter your OTP once per session, instead of for every ssh connection you make+Put these settings in your ''~/.ssh/config'' file so you only have to enter your OTP once per session, instead of for every ssh connection you make. See the [[https://docs.google.com/presentation/d/1FMir2LDbBJffXZ5aMjIJhRA_7HO99xrxT__AFxmgU_c/edit?usp=sharing|slides]] describing this, and instructions to do the same on [[https://www.chiark.greenend.org.uk/~sgtatham/putty/|PuTTY]] and [[https://www.bitvise.com/ssh-client|Bitvise]].
      
   # These rules only apply for connections to login.rc.colorado.edu   # These rules only apply for connections to login.rc.colorado.edu
Line 38: Line 38:
   ControlMaster auto   ControlMaster auto
   ControlPath ~/.ssh/%r@%h:%p   ControlPath ~/.ssh/%r@%h:%p
 +  # Keep the ssh connection open, even when the last session closes
 +  ControlPersist yes
   # X forwarding. Remove this on a Mac if you   # X forwarding. Remove this on a Mac if you
   # don't want it to start X11 each time you   # don't want it to start X11 each time you
Line 49: Line 51:
  
  
-These settings should work from Mac and Linux. I'm not sure how to do the equivalent from Windows with Putty. On a Mac, those settings will cause X11 to start. If you don't want that to happen, then remove the ''ForwardX11 yes'' line.+These settings should work from Mac and Linux. For Windows, see the [[https://docs.google.com/presentation/d/1FMir2LDbBJffXZ5aMjIJhRA_7HO99xrxT__AFxmgU_c/edit?usp=sharing|slides]]. On a Mac, those settings will cause X11 to start. If you don't want that to happen, then remove the ''ForwardX11 yes'' line.
  
 For those with access to summit (ONLY!), here are the steps to using it: For those with access to summit (ONLY!), here are the steps to using it:
keller_and_evans_lab/cu_research_computing.txt · Last modified: 2020/02/12 09:03 by lessem