GNOME

From OCFwiki

Jump to: navigation, search

GNOME offers an easy to understand desktop for your Linux or UNIX computer.


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

Contents

Using GNOME Terminal

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. Find the Terminal utility and open it. It's usually found under Applications/Accessories.

    screengnometerm1.png

  2. Launch the Terminal program. Login to OCF using the command "ssh username@ocf.berkeley.edu". Just replace "username" with your actual username.

    screengnometerm2.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 type "yes" to save the key so you don't have to check later. Then enter your password. (note: it won't appear as you type it in)

    screengnometerm4.png

  4. 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'.

    screengnometerm6.png

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

    screengnometerm5.png

If you fail to login, then you may have...

  • Mistyped your password.
  • Forgot to put your "username@" before ocf.berkeley.edu at the command line. Without specifying a username, GNOME Terminal will automatically use the name of your local account, which may not correspond to your OCF username.


Using Nautilus

GNOME Nautilus is the general purpose file browser for the GNOME desktop. Unlike file browsers like Windows Explorer, Nautilus comes with integrated SFTP functionality. Once you connect to an SFTP server, you can treat it like you would any other file browser and drag-and-drop files between the local machine and the SFTP server.

Mount an SFTP Share

  1. Find the File Browser utility and open it. It's usually found under Applications/System Tools.

    screennautilus0.5.png

  2. Choose File->Connect to Server...

    screennautilus1.png

  3. Input the settings obtained from our SSH documentation. Note you will want to type in your home directory path for this. It is of the form: /home/<first letter of username>/<first 2 letters of username>/<username>

    screennautilus2.png

  4. The share will now appear in your Computer folder, as well as in the Places list. To connect to it, just double-click it.

    screennautilus3.png

  5. 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 "Log in Anyway" to save the key so you don't have to check later.

    screennautilus7.png

  6. Enter your password when when prompted.

    screennautilus4.png

  7. You are now logged-in and may transfer files.

    screennautilus5.png

  8. When you are finished, to unmount the network share, go to the Computer location, right-clicking the share, and choose Unmount Volume

    screennautilus6.png

Quick Connect

If instead of actually making a network mount, you just want to quickly access the SFTP share, you can bring up the Location field with "Ctrl+L" and enter the following:

ssh://<username>@ocf.berkeley.edu/<homedirectory>

where <username> is your username and <homedirectory> is the path to your home directory as given above. screennautilus8.png You will still have to go through the normal authentication procedure, but you can save a couple clicks this way.

Personal tools