CCIT

UA Home CCIT Home UA Search

File Transfers and "Tunneling" with SSH and Windows

Revised Oct 10 2003

This webpage is part of the SSH documentation. It details how to accomplish file transfers and tunneling to and from u.arizona.edu with a PC running Windows. (W3 users should substitute the W3 host and their W3 logins where appropriate.) There are other pages which document how to perform these tasks on Macs.

Copying Files Between the U-System and Your PC

At this point you should have already set up SSH. If not, download it and configure it.

All of these file-transport options require that an SSH session be active when you copy.

You have two ways to transfer files using Windows Explorer with SSH. However, if you use some applications like older versions of Dreamweaver and you want to use its publishing and file-synchronizing capabilities, jump to the section on setting up file-transfer "tunneling". Since DreamweaverMX 2004 uses Secure FTP, it does not need to tunnel.

Windows Explorer <-> SSH File Transfer - #1 (this is the easiest method)

  • Have an Explorer window and an SSH File Transfer window open.
    (If you have a compute session active (SSH Secure Shell), open a File Transfer window by clicking that button on the menu bar
    [yellow folder with blue dots].) SSH ftp icon
  • Drag-and-Drop the file(s) you want to copy between the SSH and Explorer windows.

Windows Explorer <-> SSH File Transfer - #2
      To the U-System
  • On the SSH File Transfer window's toolbar under Operation choose Upload.

    SSH ftp menu

  • A listing of PC files will display.
  • Select the file(s) you want to copy to the U-System.
  • Select Upload.
      From the U-System choose Download under Operation on the toolbar

SSH Setup for "Tunneling"

    You need to set up SSH to allow your application, like authoring software such as older versions of Dreamweaver, GoLive, PrintShop and FrontPage, to automatically send and receive files through a secure tunnel since most of such applications use FTP which is no longer permitted for security reasons.
  • Start SSH - either the SSH Secure Shell or SSH SFTP client will work to configure tunneling. You should have first configured a connection profile.
  • Using SSH's Profiles pulldown select Edit Profile.
  • You will see the list of any connection profiles you have created.
  • To create a tunnel to one of these sites, highlight its profile.
  • You will see the Connection definition for that site.
SSH's edit for tunnel
  • Click the Outgoing Tunneling tab and click the Add button at the bottom.
  • Fill in the window that opens like the one below.
  • The name you choose for Display Name is optional but the rest of the values must be exactly like those below.
  • Click OK.

    SSH's edit for tunnel

  • When you have finished, your tunnel definition in the Outgoing Tunneling tab of your profile should look like the one below. Again, the profile name u-sys and the tunnel name Utunnel are just to help you identify the system with which they are associated. The values that are critical are the Host Name in the Connection tab (u.arizona.edu or w3.arizona.edu) and the Destination Host in the Outgoing Tunneling tab (localhost or 127.0.0.1 which are synonymous).

    SSH's finished for tunnel

  • Back at the Profiles window click OK.
  • If SSH is running and connected to the remote host to which you want to tunnel, Disconnect (under File).
  • At SSH's main window use the Profiles pulldown again and highlight the Profile for which you just set up tunneling.
  • When SSH tries to connect, you will be prompted for your password.
  • When you log in to the remote server, your tunnel will automatically be opened.
  • You must leave SSH running to tunnel (publish) files through it.
  • The Dreamweaver Tunneling Files webpages detail setup and steps to copy files.

Note!!

  • If you stored a webpage, verify that the public can view it by trying to view it yourself with a browser. If you get a "Forbidden" error, you need to change the permissions to make your page viewable on the web
  • When you've finished, remember to Disconnect SSH's file transfer connection to u.arizona.edu or Quit SSH and any other applications that you have running
  • Check out some Tricks

go-back arrow SSH for Windows
pointerUA Homepage      CCIT Homepagepointer
The Center for Computing & Information Technology (CCIT)
CCIT Knowledgebase
Telephone: 621-HELP
Email: Consult@listserv.arizona.edu

Website maintained by:
CCIT Computing Services