CommunityData:Hyak Ikt (Deprecreated)

From CommunityData
Revision as of 20:11, 24 September 2015 by Benjamin Mako Hill (talk | contribs) (Created page with "== Setting up SSH Local SSH == When you connect to SSH, it will ask you for a key from your token. Typing this in every time you start a connection be a pain. One approach i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Setting up SSH Local SSH

When you connect to SSH, it will ask you for a key from your token. Typing this in every time you start a connection be a pain. One approach is to create an .ssh config file that will create a "tunnel" the first time you connect and send all subsequent connections to Hyak over that tunnel. Some details in the Hyak documentation.

I've added the following config to my .ssh/config (you will want to change the username):

Host hyak hyak.washington.edu
   User makohill
   HostName login3.hyak.washington.edu
   ControlPath ~/.ssh/master-%r@%h:%p
   ControlMaster auto
   ControlPersist yes
   ForwardX11 yes
   ForwardX11Trusted yes
   Compression yes

'ONE WARNING: If your SSH connection becomes stale or disconnected (e.g., if you change networks) it may take some time for the connection to time out. Until that happens, any connections you make to hyak will silently hang. If your connections to ssh hyak are silently hanging but your Internet connection seems good, look for ssh processes running on your local machine with:

ps ax|grep hyak

If you find any, kill them with kill <PROCESSID>. Once that is done, you should have no problem connecting to Hyak.