Problem
How do I connect to a Linux host?
Solution
One may connect to a Linux host using SSH.
- Upload your SSH key to Spinup: https://spinup.internal.yale.edu/user/netid/ssh for example: https://spinup.internal.yale.edu/user/bt353/ssh
- Create a new key in Linux
- In a terminal window, type:
ssh-keygen -t rsa
- Copy the contents of the public key:
cat ~/.ssh/id_rsa.pub
- In a terminal window, type:
Create a new key in Windows
- Create a new key in Linux
- From the Spinup home page, click on the desired space
- Click on the desired resource name---it will take you to a URL similar to this one: https://spinup.internal.yale.edu/r/spinup-RESOURCE_ID.spinup.yale.edu
- On the resource page you should have the hostname and IP address listed in the top-center panel.
- To connect using SSH, open the terminal window on Mac or Linux, or install PuTTY on Windows and type the host name or IP address, using your NetID as the user: ssh netid@ip_address
Apple changed the way SSH keys interact with the SSH-Agent in OSX 10.12.2. Review this article if you're having trouble with SSH on OSX https://developer.apple.com/library/archive/technotes/tn2449/_index.html
Related articles