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
Last revision Both sides next revision
keller_and_evans_lab:cu_research_computing [2019/11/08 12:06]
borderr [Overview of best practices]
keller_and_evans_lab:cu_research_computing [2020/02/12 09:02]
lessem [Logging in]
Line 30: Line 30:
 ======= 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