-
Notifications
You must be signed in to change notification settings - Fork 0
Sherlock
Sur Herrera Paredes edited this page Dec 13, 2018
·
1 revision
It is a good idea to set the ControlPersist option so that you only need to do 2FA once per session. Just edit your ~/.ssh/config file in the computer you use to connect to sherlock. If the file does not exist already, create it, if it does exist, add the following section:
Host sher2 sherlock2 login.sherlock.stanford.edu
HostName login.sherlock.stanford.edu
User <YOURSUNETIDHERE>
ForwardX11 yes
ForwardAgent yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials yes
ControlMaster auto
ControlPath ~/.ssh/%r@%h:%p
ControlPersist yes