skip to main content Return to: U of M Home | OIT Home
University of Minnesota. Home page. myU | One Stop | Directories | Search U of M  
Academic and Distributed Computing ServicesAcademic and Distributed Computing Services

What's inside

1-HELP       1-HELP logo

ADCS Services

Computers on Campus

Internet Accounts

Knowledge Base

Online Guides
 · E-mail
 · Internet connection

Software

Contact Us

ADCS Home

   

Setting Up SSH and FTP Port Forwarding
(WINDOWS VERSION)

SSH for Macs

This document is merely a "how to set this up" document, and is not an explanation for what it is actually doing. Those explainations can be found on the SSH and (vs.) VPN page.

This document has instructions for installing and configuring both the Windows SSH client and a Windows FTP client. If you only want to install and configure the SSH client, simply follow the Tera Term Pro instructions below. Even if you don't want to set up FTP client right away, it would be prudent to configure Tera Term Pro to support FTP port forwarding, since you'll probably want to use it eventually.

Prerequisites:

  • Windows 95/98/NT/2000/XP
  • Valid Unix account on the machine you're accessing.
  • An SSH Client (or Telnet Client with an SSH plug-in)
  • An FTP Client

Step 1: Getting and Installing the Software.

There are a number of SSH clients you can use for Windows. While the instructions below are tailored specifically for the Tera Term Pro Client, you can also use other clients to establish SSH Connections:

SSH Clients:

FTP Clients:

There are also a number of FTP clients you can use for the Mac. While the instructions below are tailored specifically for WS_FTP, you can also use other clients to establish FTP connections:


Step 2, Configuring Tera Term Pro to do FTP port fowarding through SSH.

Start Tera Term Pro:

The straight Tera Term won't work, you must use the SSH plugin.

Two windows should appear with the following title bars:

Tera Term - [disconnected] VT
Tera Term - New connection

Click on the "Cancel" button in the "Tera Term - New connection" window, we want to add a host with FTP port forwarding before opening a SSH connection.

Add a host with FTP port forwarding enabled:

Click on the "Setup" menu in the "Tera Term - [disconnected] VT" window, then choose the "TCP/IP" option. A new window should appear titled:

Tera Term: TCP/IP setup

Add the following entry in the "Host list" field:

host:22/ssh /ssh-v /ssh-Lftp:host:ftp

Where "host" is the FTP server to which you want to connect.

Now click the "Add" button, click the "Ok" button when you are finished adding hosts to the host list.

NOTE: the "/ssh-v" option creates a "TTSSH.LOG" file (useful in diagnosing problems).

After you set up FTP, this is where you'll come to log into the Unix machine.

When you use this window to connect, you MUST have SSH chosen as the Service. Telnet will not work.


Step 3, Configuring WS-FTP to use the SSH connection.

Start WS-FTP Lite.

Create and configure a new WS-FTP "session" to use the SSH tunnel:

Click the "Connect" button in the WS_FTP window; a new window titled "Session Properties" should appear. Click the "General" tab.

Click "New" to create a new session. Enter a meaningful name in the "Profile Name:" field. For example, SSH-FTP. Enter "localhost" in the "Host Name/Address:" field.

(This tells WS-FTP to connect to the FTP port on the local computer (i.e., your PC). Your existing SSH connection forwards this port through its secure tunnel to the remote host.)

Leave the "User ID:" and "Password:" fields blank. That way, WS-FTP will prompt you for them each time you connect using this session, which will let you easily use this session for setting up FTP transfers to different computers (on which you presumably have different usernames and passwords).

Click the "Advanced" tab. The "Passive transfers" check box should have a check in it to enable Passive Transfer Mode (click on the box if there is no check mark).

Click the "Ok" button when you are done making changes in the "Session Properties" window. This will save your new configuration, and will attempt to connect to "localhost" to initiate an ftp transfer. If you're not currently logged in to a host using an SSH client, this connection will fail.


Step 4, Using SSH, and Using WS-FTP Through the SSH Connection.

Set up an SSH connection to your desired host using Tera Term Pro (SSH Telnet). This provides a secure "tunnel" through which your FTP username and password information will travel.

Start WS-FTP. Connect to the SSH-FTP connection.

Transfer files as you like. When you're finished, close the WS-FTP connection, then log out of the SSH connection.

 
Trouble seeing the text? | Contact U of M | Privacy
The University of Minnesota is an equal opportunity educator and employer.