CSC128: Introduction to UNIX

Accessing Linux Remotely

Location Of your account:

By being a member of this class you have been given an account on

Connecting to remote Linux systems:

This web page explains the method of logging in to your Linux account from your home, or any other computer on the internet. Most of this discussion deals with how to install and configure the client named 'putty' for Windows which is a freely available telnet and ssh client. It is recommended that you only use ssh port 22, and not use telnet port 23, whenever connecting to a remote Unix system.

What is putty?:

Putty is extremly popular and is becoming the defacto standard method of connecting remotely to Linux (Unix) systems. You may be familiar with a program in Windows called telnet. Experienced users basically no longer use telnet for several reasons the most important of which is that telnet may reveal your password to anyone on the network, putty encrypts your passwords. I have also found that putty provides a very nice emulation of X-window's cut and paste functionality. If you want to paste something from a Windows program, you select and copy it to the clipboard and then place the mouse pointer in the putty window and click the middle mouse button or both buttons at once to paste. You can also select text in putty and then paste it into any Windows program, again using the mouse buttons.

Getting putty:

To get putty downloaded and installed on you machine you should do a search on Google for the keyword putty . You should then find, typically near the top of the search list, a 'putty download page' . You should then download the correct putty for your OS. When looking at the page you want to just download the basic putty version, not one of the versions like PSCP etc.

Installation and configuration:

putty is very small and no installation is really required, just double click on your copy of putty.exe and you will see the following window:

Note the changes that I have made to the default configuration. I have made a new session by typing into the host name dialog box. I have selected the ssh button which places port 22 into the port dialog box. And, I have typed the name shaula.csit into the saved sessions dialog box, and then clicked the save button so that I do not have to make these selections again. Note that the first time that you login you will be challenged with an error message telling you something about the keys or authenticity of host can't be established', this is perfectly normal and you should select or type 'yes' or 'OK'. (more about this later in the semester). It is best to connect to the machine and also note that the default configuration of putty will have you connecting to 'telnet port 23'. Port 23 will NOT work with , since is not listening on port 23.

Transferring Files

To Transfer Files to and from you use WinSCP in much the same way as putty.