Use SecureCRT to connect to a CAE tux workstations.

In the past, individual users did not have their own computers. Instead, they had terminals that they would connect to mainframe computers that large companies or schools owned. The institutions that owned the computers allowed others the ability to remotely connect to their computers. This was arrangement was mutually beneficial as more people gained experience in how to use the computers to solve problems. Today, many of us own our own computers, but we will still connect to networks of computers that are owned by other people. This is often because the programs that are available on those computers are not available on our own. That is the case for our module on FORTRAN. The Windows computers do not have a FORTRAN compiler. So, we will remotely connect to a UNIX workstation to write and run our FORTRAN programs.

This lesson provides instruction on how to connect remotely to the CAE's LINUX based workstations named 'tux' from your Windows computer. The process is the similar for connecting remotely to other workstations. The connection is created using a program called SecureCRT. SecureCRT is available on the CAE windows workstation via the Application Installer and it is also available for home use from the DoIT Techstore.

  1. Add the SecureCRT Application to your account configuration (if it is not already available)
  2. Start the SSH Application
    Start -> CAE Applications -> Internet -> SSH Secure Suite -> SSH Secure Shell
  3. Connect to the workstation of your choice:
    1. Click [Quick Connect]
    2. Type best-tux.cae.wisc.edu in the Host Name field.
    3. Type your CAEloginName in the User Name field.
    4. Click [Connect].
    5. Click [Yes] to accept certificate and save the new host key.
    6. Type your password and click [OK].
    7. Click [OK] to complete the authorization.
  4. Try out some common UNIX commands.

You should now see a terminal window with a prompt for entering commands that will be run on the particular tux workstation that was chosen by best-tux.
Some UNIX commands that you may like to try:

pwd
Pprint full path and name of current Working Directory
ls -al
Show a LiSt of the files in the current directory
mkdir newdir
MaKe [create] a new DIRectory with the name newdir
cd newdir
Change to the Directory named newdir
cp oldname newname
[create] a CoPy of the file or directory with the oldname as a file or directory with newname
mv oldname newname
MoVe [rename] the name of the file or directory with the oldname to a file or directory with newname
rm filename
ReMove [delete] the file named filename.
user
See a list of login names of the other users who are currently logged into this workstation either locally or remotely like you
vi filename
Text-only editor that many UNIX programmers like. Use Shift-Z Shift-Z to save and exit.
emacs filename
Text-only editor that UNIX programmers who like buffers like. Use Ctrl-x Ctrl-c to save all buffers and exit. Use Ctrl-h t to start the tutorial.
pico filename
Text-only editor that is easier for new programmers. Use Ctrl-x to save and exit.
date
Returns the current local date and time.
time
Returns system time parameters that can be checked at start and end to compare how much cpu time a program took to run.

TIP: There is a great deal of programming that you can do via a shell script. But that is beyond the scope of this course. Search online or your local book store for information on shell scripting languages like SH, CSH, TCSH, BASH, KSH, Makefiles, and others.