Installing SSH secure shell client
Establishing a connection to seis
Navigating to your your department's directory on info
Saving your default connection settings as a Profile
Creating a Profile for your department folder
Uploading a file from a PC to a web directory
Downloading a file from info to a PC
The SSH secure shell client program allows you transfer files securely from a local PC to a remote server. As such it is particularly recommended for uploading files onto a web server such as 'eis' or 'sis'.
Use of SSH ensures that your username and password cannot be "sniffed" and captured by malicious people while you are connecting to the remote system (a common way for hackers to find out usernames and passwords that they can use to facilitate misuse of computers).
You must use SSH to connect to centrally-administered Unix systems and, when using other systems, you are strongly recommended to use SSH for connecting interactively and for file transfer whenever possible.
You can download the latest version of SSH secure shell client from ftp://ftp.bristol.ac.uk/pub/ibmpc/ssh/. (Off-site users will need to use the Off-site Proxy to do this.)
Please read the README file for information about the licensing conditions and instructions on installing the software.
This document describes how to use the recommended version (3.2.9) of the SSH client to transfer files to a centrally administered web server.
To start SSH secure shell:
Alternatively:
A file transfer window is opened as shown below:


You are now connected to your personal directory on the staff and students mail server (seis), whose content is displayed in the right frame, as illustrated below:

Inside your personal mail space, there is a folder called public_html. This is where you must store your personal HTML files (web pages) and related files (e.g. images, style sheets, etc.) to make them publicly available on the World Wide Web.
Note some departments have their own web servers, in which case you should contact your departmental network administrator to register on that system, find out the Host Name and check that the appropriate server software has been implemented to allow secure connections.
The first time you log into info using SSH Secure Shell you will need to specify the path to your department's folder - since the default directory is your personal mail directory. The path to your department's directory was sent to you, together with a username and password, when you first registered to become a departmental web information provider. A typical path looks like:
/info/www/Depts/MyDepartment/
where MyDepartment is the name of the folder allocated to your department (for example, Economics for the Department of Economics, ArtHistory for the History of Art Department).

To access your department's directory:

Clicking on the Home button will take you back to your personal folder.
Profiles are particularly useful when you need to connect to different web folders, for example your personal web space and your department's web folder.
Either:

...or, if the Add Profile dialogue box proves too elusive:

Now that the connection to your personal web space has been set as a profile, you may want to create one for your department's web folder.
The next time you use SSH Secure Shell, you can connect directly to your preferred profile.

The File Transfer window is divided into three panes (as in the diagram below):

By default, SSH Secure Shell is set to select the file transfer mode (either ASCII or Binary) automatically (Auto Select), and to transfer text-style extensions (for example, .txt, .htm, .html) as ASCII and other files as Binary. Although there is no need for you to change these settings, you can if you wish explicitly choose the file transfer mode. To do this:
To upload a file from your PC to your department's web directory:
Alternatively, you can use the Upload Dialog facility:
To download a file from the remote host (in this case info) to your PC:
An alternative method is to use the Download Dialog facility:
Once you have uploaded your files and folders to the info server, you need to set the permissions to determine the level of access for three different categories of users: Owner (yourself), Group (for example, other web publishers in your department) and Other (the rest of the world).
Each of these users can be granted different levels of access, from no access at all to Read (the right to view the file or directory), Write (the right to modify the content of the file or directory) and Execute (the right to execute any programme contained in a directory) permissions, or any combination.
These permissions are usually expressed as a numeric value: 4 for Read, 2 for Write, 1 for Execute and 0 for none. These values are then added together to determine the level of access of each user. For example, a file given a permission mode of 640 means that Owner has Read and Write (4 + 2) permissions, Group has Read (4) only permission and Other cannot access the file at all (0).
In the case of files (and directories) destined to be stored on a web server - and therefore viewed other the web - the relevant permission settings are as follows:
Note that if you want other people in your department to modify folders and files, you need to give Group the permission to Write as well, in which case the permissions mode will be 775 for a directory and 664 for a file.
By default SSH Secure Shell File Transfer Client should be configured with these settings, however the first time you upload files it is worth checking that the file permissions match the settings described above (that is, 755 for directories and 644 for files). To do this:

Thereafter, you may want to check or change the permissions of uploaded files and directories. To do this:

When you have finished the session remember to disconnect from the remote system and return to the PC operating system:
To close the program:
For more information on the SSH Secure Shell client see Using SSH secure shell client on a PC to connect to a remote site (document ssh-3r).