Remote Connections

Connecting to the CAMLAB from the outside world

If you are familiar with Unix, you may be surprised that you cannot connect to the CAMLAB by using any of the usual commands. Incoming rsh, rlogin, rcp, telnet, and ftp are disabled because these protocols require passwords to be send unencrypted over the internet, and would make CAMLAB accounts vulnerable to so-called ``packet sniffers''.

To connect to the CAMLAB you have to use a secure version of the network utilities:

Setting the Display

If you use slogin to connect from or to the CAMLAB, the DISPLAY environment variable will automatically be set. In other words, all X-windows that you start will automatically appear on the console you are working on - you do not have to read any further.

If you log in from the CAMLAB into a system which does not support slogin, you can set your Display variable as follows: Say you are working on cam0.math.uci.edu and you want to run an application on server.somewhere.edu. At the Unix prompt on cam0, type

  xhost +server.somewhere.edu
In a C-shell on the remote machine server.somewhere.edu, type
  setenv DISPLAY cam0.math.uci.edu:0.0
Now you can start applications on server.somewhere.edu as if you where using its console.

Logging in from Home

Most likely you don't have the ssh utilities on your computer at home. This means you have to log in via a system which provides slogin:

If you log in frequently from your computer, you may want to get the ssh utilities. This is easiest if you use Linux. In that case you can even run X-window applications over the phone line. Although this is too slow for most programs, you can, for example, run Mathematica via the text based interface, and occasionally bring up windows displaying simple graphics.

ssh can be downloaded from the following sites:




Last modified: 1998/02/21
Marcel Oliver (oliver@math.uci.edu)
The index for ``Using Unix in the CAMLAB'' can be found at http://www.math.uci.edu/~moliver/unix/index.html.