ssh to Xsede - Green-Biome-Institute/Xsede GitHub Wiki

All the info you need for using Xsede is in this link. But sometimes, there are some things missing from these guides for the novice user. I hope these guides will help you through some hurdles. Here we go...

In order to connect to the computers on Xsede, we will mainly be using ssh, or secure shell. This is a protocol that enables us to "securely" connect to remote servers through our command line. When you login to portal interface on "My Xsede", you can find a ssh tab "SSH Terminal". Now go to "XSEDE Single Sign on Login Hub". Following the instructions there you can ssh to the servers through the command line. For doing this you also need to have DUO, an app for authentication on your mobile device. Follow the instructions here for enabling the duo authentication. First, open a terminal window on your computer, then type:

$ ssh -l your_username login.xsede.org

Here change "your_username" to your actually user name. Type "yes" if you are asked about being sure to connect. Then, you will be prompted to your password, which is one you created when you were creating your Xsede account.

Please login to this system using your XSEDE username and password: password:

Type your password. You should have your DUO on your mobile device by now. Then type "1" and enter for authentication with DUO, and open the DUO app to approve. You will see something like:

[your_userName@ssohub ~]$

Now you are in the system, but only on the login nodes, not the computing nodes. So you still need to get to the specific servers where you have your allocations. Simply do:

$ gsissh bridges2

Bridges is a section within Xsede where GBI's allocations are situated at. This is also composed of several parts, mainly computing and storage servers. Next we will look at how to access our scratch space.