next up previous
Next: Copyright notice Up: Principles of Operating Systems Previous: Textbook


Working Remotely on the J118 System

So it's past 11 pm, the lab is closed, but you have to submit this assignment for CSC 414. Well, you actually can.``Remote login'' (i.e., having access to a machine from a remote location) is a built-in facility in Unix.

Remote login:
In Unix, obtain a terminal and type

ssh username@j118-n.ubishops.ca

where username is your J118 user name amd n ranges from 2 to about 24 (2 and 3 are more or less guaranteed to be up). Once presented with a prompt on the remote machine you can launch any application you like (such as submit), including graphical applications (whose windows will show up on your screen--the Unix SSH client does display forwarding for you automatically).

Under Windows you need an SSH client such as putty. Launch then the client, enter j118-n.ubishops.ca in the address/host field (don't remember the exact name of the field, sorry), and make sure you check the ``SSH'' radio button. Log then in using the same user name and password you use in J118, and you will end up with a terminal similar to the one you have used already. No graphical interface is available in this setting, but you can open as many terminals as you wish by repeating this connection procedure. This should at least allow you to use the submit program.

File transfer:
To copy files to and from the J118 system you need a SCP client. Under Unix such a client is called scp and works almost like cp except that either the source or the destination may be on a remote machine and specified under the following form:

username@machine-name:remote-directory

with username the name of your account on the respective machine, machine-name the name of the machine you want to copy from (or to), e.g., j118-n.ubishops.ca, and remote-directory the thing you want to copy (or into which you want to copy, as the case may be). Use the -r switch to recursively copy entire directories.

A graphical SCP client for Windows is WinSCP.


next up previous
Next: Copyright notice Up: Principles of Operating Systems Previous: Textbook
Stefan Bruda 2010-04-29