PuTTY

From OCF Help

Jump to: navigation, search

PuTTY is a free Secure Shell client that can be downloaded here.

NOTE: For OCF SSH settings, please consult the general SSH documentation.

Using PuTTY

Computers which run the Unix operating system, like the ones in the OCF, are sometimes called command-line oriented. This means that like an IBM PC clone and unlike a Macintosh, you get the computer to do things by typing the name of the program you want to run to a system prompt. The default prompt on machines in the OCF looks like this:

apocalypse [100]

Note: You SHOULDN'T type "apocalypse [100]"! That is your PROMPT, as in, something that computer shows you to PROMPT you for another command. In addition, apocalypse [100] is an example, your prompt is not always the same thing. The first word is the name of the machine you're logged into; the number is the number of the command you're about to type, which is useful for repeating a command. Some Unix other systems are set up to use "%" as their prompt; the prompt on the OCF acts the same, but gives you a bit more information.


Detailed Instructions

  1. Connect to the OCF. Launch PuTTY and you will be presented with the Connect dialog.

    screenputtywin1.png

  2. Input the settings obtained from our SSH documentation. Most of the defaults are fine, so just enter the host name.

    screenputtywin2.png

  3. If this is the first time you have connected to ocf using this client, you will be prompted to check the identity of the remote host. At this point, there is no way for the SSH client to determine if the host you are connecting to is actually the host it claims to be. It will provide you with a key fingerprint and asks you if you want to continue. Most people will just click Yes and assume it to be the correct host. The OCF publishes the SSH host keys of all of its systems, so you really should check. It doesn't take that long and you only have to do it once. In this case, the host key page gives the following entry for ocf.berkeley.edu:

    • SSH 2 RSA fingerprint: 56:8e:7c:29:f9:c9:94:8f:39:76:37:2f:c6:37:bf:e2
    • NOTE: this is the key at the time of this writing. Please check against the SSH host keys page, as the keys may change.
    If the fingerprints match, go ahead and continue and click "Yes" to save the key so you don't have to check later.

    screenputtywin3.png

  4. Enter your login name and password when prompted. (note: your password will not show up as you type it in)

    screenputtywin4.png

  5. If this is the first time you have logged in to your OCF shell account, you will see the new user information. You should probably read this information, but if you are in a hurry, you can just page through it until you get to the end. At this point you will be asked whether or not to make your files world-readable. If you aren't sure what to pick, go with unreadable and enter 'u'.

    screenputtywin6.png

  6. Once you get a prompt like the one below (or something similar like "apocalypse [1] "), you are now logged-in and may issue commands.

    screenputtywin5.png

Personal tools