Connecting to Galileo

You should each soon be receiving an e-mail about new accounts I've created for you on our Physics Department Linux cluster, "Galileo". The email will tell you your initial password for logging into the cluster.

Once you've logged in, you'll see a command-line interface similar to the terminal window you were using in room 22 on Monday. There are a couple of important differences, though:

  • When you log into Galileo, you'll actually be using a remote computer. You'll be able to connect to Galileo from anywhere in the world, and can write and run programs there.
  • Programs you create on Galileo will be stored in your own personal home directory there, and you can come back and use them again later.

After you've logged in to Galileo, you can use the same commands we learned on Monday, like "nano" and "g++". When you're done playing, type "exit" to log out.

What you'll need in order to log into Galileo:
To log into Galileo, you'll need a few things:

  • Your username, which will just be the same as your UVa userid (like "mst3k").
  • Your password, which you'll receive shortly in a separate e-mail.
  • Galileo's "hostname", which is galileo.phys.virginia.edu .

You'll also need to know how to use this information to connect to Galileo. The instructions depend on which operating system is installed on your personal computer. Here they are:

  • For Apple OS X:
    To connect to Galileo from OS X, click Go --> Utilities on the Finder menu, and then double-click on the "Terminal" icon in the resulting list of utilities.

    When the terminal window opens, type the following to connect to Galileo, replacing "mst3k" with your own UVa user ID:

    ssh mst3k@galileo.phys.virginia.edu

    The first time you do this, you'll be asked to accept Galileo's RSA key. Type "yes" to do this. You'll then be asked for your password (the one that will soon be e-mailed to you). Note that you won't see any letters or asterisks as you type your password. This is normal, and intentional (it's so nobody looking over you shoulder can see how many characters are in your password).

  • For Windows:
    Unfortunately, Windows doesn't come with the tools you need to connect to Galileo, so you'll have to download a program before you can connect. You can find the program here:

    http://galileo.phys.virginia.edu/compfac/courses/comp_intro/files/putty.exe

    This is a little program called "putty" that will let you communicate with Galileo. Put it on your desktop, or anywhere convenient, and double-click it to start it up.

    You'll see a window like this:

    In the box labeled "Host Name" enter "galileo.phys.virginia.edu" and click the "open" button at the bottom of the window. The first time you do this you'll be shown a "PuTTY Security Alert", asking you if it's OK to talk to Galileo. It looks like this:

    Click "yes" to accept this.

    Then you'll see some text that says "Login as:". Type in your official UVa user ID here (like "mst3k"). Then you'll be asked for your password (the one that will be e-mailed to you soon).