Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Step 1: Logging into an EC2 node

  1. Download classkey.pem from this wiki(go to Tools -> Attachments or click on the paper clip on the upper right hand side of this page), and save it somewhere you'll remember
  2. Preparing the key file (Windows Instructions)
    1. Run puttygen.exe, and click "Load"
    2. Change the file type to "All files (*.*)" and select classkey.pem.
    3. You should get a message about successfully importing the key.
    4. Add a password to your key (this isn't strictly necessary, but is good practice).
    5. Click "Save private key", and save the key somewhere you'll remember it (call it classkey.ppk).
    6. Exit puttygen
  3. Preparing the key file (Mac and Linux instructions)
    1. Open a terminal
    2. Run "chmod 600 classkey.pem" (you may need to replace classkey.pem with the path to that file). If you're interested in what's going on here, you can check out sections 5.1 and 5.2 of the unix tutorial.
  4. Log into the node (Windows instructions)
    1. Open putty (not puttygen)
    2. Paste ec2-user@ec2-23-21-1-36.compute-1.amazonaws.com into the box labeled "Host Name (or IP address)
    3. On the left side, under "Connections" click on "SSH", and then on "Auth". Click "Browse" to select your private key file, and select classkey.ppk (not classkey.pem).
    4. Click "Open" at the bottom of the window.
    5. On the prompt, agree to continue connecting
    6. Enter the passcode you created for your key
  5. Log into the node (Mac and Linux instructions)
    1. Open a terminal
    2. Run "ssh -i classkey.pem ec2-user@ec2-23-21-1-36.compute-1.amazonaws.com" (again, you may need to replace classkey.pem with the path to that file). The -i option says that classkey.pem is the "identity file" (aka private key) that you will use to identify yourself to the EC2 node.
    3. Say you are sure you want to connect.
  6. You should now be logged in. If you are not, email josilber@mit.edu so we can troubleshoot. If you are, save a screenshot of your login screen.

...