Optimal PuTTY Settings for CS Servers

Since University of Regina Information Services recommends PuTTY as the standard terminal emulation program for campus use, the Department of Computer Science also recommends that PuTTY be used for contacting CS servers, such as Hercules (hercules.cs.uregina.ca) and Titan (titan.cs.uregina.ca). If students wish to try other programs, they should ensure that the other terminal emulation software is capable of connecting via SSH Protocol 2.

NOTE: You can only connect to Hercules when you are on campus. If you require access to your account off campus you have to connect to Titan instead.

The settings below for Hercules should work as well for connecting to Titan. If you run into any issues connecting to Titan (titan.cs.uregina.ca) please contact IT Support via one of the methods here: https://www.uregina.ca/is/contact/ Provide screenshots if possible of the issue.

Users can obtain PuTTY from the Information Services Dowload page at https://www.uregina.ca/is/common/ur/downloads/index.html. This download has been partially configured for connections to servers at the Univesity of Regina. However, it does not include all of the Computer Science servers, nor does it provide optimal configuration options for our servers. This page contains information about how to adjust the configuration for best use of our servers.

Once PuTTY is installed, the following configuration page will open when you double click the PuTTY icon on your desktop, or select it from your menu or "Quick Launch" bar.

Note that a number of these settings can be made on-the-fly, from an active login session, by right-clicking on the PuTTY icon in the title bar and selecting "Change settings ...".


Select Hercules

Hercules is the only Computer Science system that comes configured in the Computing Services download. Select hercules.cs.uregina.ca and click the Load button.

Putty Image select Hercules
Keyboard Settings

Click the "Terminal->Keyboard" Category

  1. Change the "Function keys and keypad" setting to "ESC[n~";
  2. Set the "The Backspace key"
    To "Control-? (127)"
    If you plan to test C++ programs, use emacs, or use the older login shells sh or ksh.
    To "Control-H"
    If you wish to use the historically correct setting.
Note that this setting can be changed while your terminal session is active by right-clicking on the PuTTY icon in the title bar and selecting "Change Settings ...".


PuTTY Keyboard Settings
Enabling the Numeric Keypad

PuTTY allows for mapping the numeric keypad to programmable functions within advanced editors (such as vi/vim/emacs/etc). For most users this is a pain and they would prefer that the numeric keypad act as a numeric pad when "Num Lock" is engaged and as a scroll pad otherwise.

To retain the latter behaviour, select the "Terminal->Features" Category.

  1. Select the "Disable application keypad mode" setting
  2. Select the "Disable switching to alternate terminal screen" setting.
Note that the other items shown as selected on this screen are good choices for session security.
PuTTY Keypad
Enabling Line Drawing (Optional)

Some remote applications make use of Line Drawing Characters. These characters make use of 8-bit ASCII characters to define simple line drawing elements. Note that the default use of 8-bit ASCII characters is to provide foreign language accent characters. If you regularly use application(s) that make use of line drawing, and seldom use application(s) that have foreign language accents, then you may wish to change this setting. Note that grader is an application that uses line drawing. If you see a rows or columns of solid block characters on the screen, you may be using an application that has line drawing elements.

Note that this setting can be changed on-the-fly.

PuTTY Enable Line Drawing
Setting the Terminal Type

The settings that you have made so far are designed to work with a host terminal type that understands these selections.

Select the "Connection->Data" Category. Change the "Terminal-type string" to putty.

Set the Terminal Type
Enabling Printing (Optional)

If you have a local printer, you can enable it so that you can directly print from host applications to your local printer. Note that you typically do this via "TeraPrint" or the new "PuTTYPrint" applications.

Select the "Terminal" Category. At the bottom of the settings is a drop down box that will display the names of locally known printers. It may also include an option "Print to File" if you have configured such a printer. Select the printer that you wish to use to locally print remote files.

Note that this setting can also be changed in an active terminal session. Right click the PuTTY icon in the title bar and select "Change Settings...".

PuTTY Enable Printing
Silencing the Bell (Optional)

The long since obsolete physical CRT terminals had the capability to make an alert sound in the event of an error. PuTTY emulates this behavior. However, this behaviour may not be wanted on a PC operating in a communal environment.

To modify this behaviour, select the "Terminal->Bell" Category. For strictly silent operation, select the "Visual bell (flash window)" setting. Alternatively, you could adjust the settings at the bottom of the panel to reduce the frequency of the alarm bell.

Of course, if you are especially proud of your errors, you can also have PuTTY play a sound file of your choice.

PuTTY Silencing the Bell
Saving Your Changes

Select the "Session" Category and click the Save button.

PuTTY Saving Changes
First Hercules Login

The first time that you connect to a system, PuTTY will present a "Security Alert" dialog so that you can confirm that you are connecting to the system that you intended to. If you are at all security conscious, confirm that the rsa2 key fingerprint contains the same text as shown. Select the Yes button to permanently accept connections to this host.

PuTTY First Hercules Login
First Titan Login

See the above comments for the connecting to Hercules. Note that Titan has a different server key than Hercules.

Titan Key Image
To Top of Page