Login to the Linux Server

Programs needed on your computer (all are free of charge) :
ssh-client : download from http://downloads.its.psu.edu/, there follow the link "Connecting to Penn State" and then "File Transfer".
vpn download from : https://www.work.psu.edu/access/vpn/
VNC-view : follow this link vnc-viewer

Procedure

  1. Log into the computer in the lab using your regular PennState account name and password.
  2. Start up a program called "Secure Shell Client". You will find it

    Start --> All Programs --> Internet Applications --> Communications --> SSH Secure Shell xyz --> Secure Shell Client

    After your first usage you will find a direct link to "Secure Shell Client" in your Start Menu as a welcome shortcut

    Either way, the SSH window will pop up.
  3. In the SSH window click on the button "Quick Connect" to cause a dialog box to appear. Fill in the information for :
  4. and click on the "Connect" button.
  5. Another dialog box pops up this time asking you for your password. This password is in general different from your PennState password and the necessary information will be provided to you by your instructor during the first class period.
  6. If your password got accepted all dialog boxes will vanish leaving you with the following screen. The bottom two lines in above image are of importance. The next to last line shows when you last logged in. If that information does not agree with your recollection your account may be compromised. You better get in touch with your instructor. The last line is referred to as the prompt indicating to you that the linux server is waiting for you to type in a command on your keyboard. Of course, you got to know your UNIX commands. The content of this prompt is basically controlled by the system administrator of the linux server. In our case, it reflects your account or user name (hgn) and that you are logged into a machine whose hostname starts with linux ( as in linux.ma.psu.edu ). The ~ (tilde) indicates that you have been placed automatically into your home directory. As you navigate your filesystem ( Unix command "cd") the tilde will be replaced by the name of the present working directory. The brackets surrounding these three items have no particular meaning. The dollar sign at the end of the last line is an indicator as to what shell you are using. A shell is the program which interprets the commands you are typing in and tells the computer what to do.
  7. At this point you can already use the connection to the linux server to do your work if you are happy using only UNIX commands and the programs you intend to use produce only text-based output. Apart from providing the fastest connection it also is the most stable one.
    If this is the first time you are logged in we will ask you to change your password for future use on linux.ma.psu.edu. The appropriate command is called passwd
  8. Establishing a VPN path : This step is only necessary if you are connecting from outside the PSU network ( like from home or wireless on campus ) AND wish to use a graphical user interface (GUI). You can take this step only if a program called "VPN client" is installed on your computer. This program is available for free at https://www.work.psu.edu/access/vpn/

    Images and instructions missing

  9. Getting the full linux screen : To do this you need a program called "VNC client". It is already installed on all computers in the MA labs. You can easily install it on your own computer and it is available for free.

    There are two steps you have to perform in sequence.

    1. From step 5 above you still have the SSH window open. Type the command vnc. You will be presented with options as to the size of the window for the linux graphical user interface. If you are in the computer labs the choice is clear (1). If you are connecting otherwise I would start with the same option but depending on the settings on your computer you might have to fiddle around to obtain a clearly readable screen. Your SSH window should be looking something like this : The important information to remember is the display number, a 1 in this example. Now leave the SSH window alone.
    2. Double-click on the VNC viewer icon on your desktop. The following window should popo up :
      Make sure that the number behind the colon behind the hostname matches that of the before mentioned display number, and correct if necessary. Then click on OK.
      As a final action you will have to provide a password to the VNC-viewer :

      and press the OK button. Note, this password pertains merely to the VNC viewer which means that if you change any other password you use within PSU network system, this one will remain the same. And, of course, vice versa. So, who sets it in the first place ? Well you do, during the first class period.
    This will now give you a screen which - similar to the example below - looks and behaves exactly like the screen you get as if you were sitting infront of the monitor of linux.ma.psu.edu.


Zig Herzog; hgn@psu.edu
Last revised: 08/24/09