!

Unix Timesharing: Using SSH and sFTP (Windows)

Overview

Your University Computing Account gives you access to file storage space on the Unix Timesharing Service.  In order to access this space, you must use one of two secure connection methods:  SSH or sFTP.    

•  SSH, which stands for Secure Shell, is a program that enables you to securely log in to a remote computer.  SSH should be used in place of telnet, which is an insecure method of connecting to a remote computer. 

•  sFTP stands for secure file transfer protocol.  It enables you to transfer files securely between two computers.  sFTP should be used in place of FTP because files that are transferred using FTP are not encrypted.

You can use PuTTY to establish an SSH connection to the Unix Timesharing Service and a program called WinSCP can be used to establish an sFTP connection.  This document explains how to connect to the Unix Timesharing Service with these two programs. 

Accessing Unix Timesharing with Windows

Using PuTTY as an SSH Client

1.  If you do not already have PuTTY installed on your Windows computer, open a Web browser to http://www.chiark.greenend.org.uk/~sgtatham/putty/download.htmlRight click the putty.exe file in the Binaries section and save the file to your desktop.

2.  Double click the PuTTY icon on your desktop to launch it.

 

3.  You may get a security warning pop-up window asking if you want to run the software.  If you do, click Run.

 

The PuTTY Configuration window will display.  In the Host name field, type unixs.cssd.pitt.edu.  Make sure SSH is selected as the Connection type.  Enter Unix Timesharing under Saved Sessions and click Save.  This will save your settings so you do not have to enter them each time you log in.

 

 

4.  Click the Unix Timesharing option and click Load.  This will load your saved session.  Next, click Open.

Note:  The next time that you use PuTTY, you can simply load and open your saved session.  You do not have to enter the Host Name each time.

 

5.  The first time that you use PuTTY, you may see a PuTTY Security Alert window below.  Click Yes to cache the server’s host key in the registry.  This warning should not display again.

 

6.  Type your University Computing Account username and press the Enter key.  Next, type your University Computing Account password and press the Enter key.

 

7.  The Unix Timesharing Service login screen will display.  You are now securely connected. 

 

 

Installing WinSCP for sFTP

1.  Open a Web browser to http://winscp.net/eng/download.php. Click the Installation package link in the Downloading WinSCP section.

 

Your download should start automatically (Note: If it does not, click the Direct Download link on the page).

 

2. A pop-up window will ask if you want to run or save the application. Click Run


3.  Click Yes in the User Account Control pop-up that appears.

 

4.  A security warning may display asking if you want to run the software.  Click Run.

 

5.  Select the language for the installation and click OK.  The WinSCP Setup Wizard will display.  Click Next.

6.  Read the license agreement and click Next.

7.  Select Typical installation and click Next.

8.  Select Norton Commander Interface as the interface style and click Next

 

9.  Click Install to begin the installation process. 

10.  When the installation has been completed, click the Finish button. 

Using WinSCP for sFTP

1.  Double click the WinSCP icon on your desktop to open the program.

 

The WinSCP Login screen will display.  Enter unixs.cssd.pitt.edu in the Host name field.  Enter your University Computing Account username and password where prompted.  Leave the Port number set to 22.  Ensure that the File protocol is set to SFTP and click Save. 

 

2.  Enter a name for your saved session (for example, Unix Timesharing) and click OK.

 

3.  Select your Unix Timesharing session and click Login.

 

Note:  The next time that you use WinSCP, you can simply select your stored session and click Login.  You do not have to enter the Host Name each time.

4.  The first time that you use WinSCP, you may see the Warning window below.  Click Yes to add the host key to the cache.  This warning should not display again.

 

5.  You are now securely connected to the Unix Timesharing Service and can copy files back and forth between your computer (left side of window) and the remote system (right side of window).