Using SSH with FTP

Versions 2.4 and later of SSH Corporation's secure shell client can be configured to forward file transfer protocol (FTP) network connections through secure tunnels. The following set-up instructions describe how to connect QVT/FTP client and Microsoft Front Page through a secure SSH tunnel.

Connecting file transfer programs in this manner combines special functionality of the programs with the data security of SSH. Other FTP programs that allow connections to specified ports on the localhost (127.0.0.1) may also be connected through an SSH FTP tunnel. SSH must be installed on your computer. For general information about

SSH and links for downloading SSH Corporation's secure shell client, please see the HelpDesk Secure Shell home page. QVT/FTP is part of the QVT package that can be downloaded from the UTS HelpDesk. Front Page is a is a popular Web site creation and management tool that can be purchased from Microsoft.

Configuring SSH

  1. Open Secure Shell, but do not log in.

screen image
  1. Go to Edit, then Settings...

screen image
  1. In the menu on the left of your screen under Host Settings, go to Tunneling, then Outgoing.

screen image
  1. On the right of the screen, click the Add button.

screen image
  1. In the Name field, enter agora_ftp_tunnel
  2. In the Type field, select FTP
  3. In the Listen Port field, enter any number between 1024 and 65535.

    PLEASE MAKE A NOTE OF THE NUMBER YOU CHOOSE. Keep "Allow Local Connections Only" checkmarked.

    To find available ports on a WindowsNT or Windows2000 system, look at the file C:\Winnt\System32\Drivers\Etc\Services. You may choose as your outgoing port number any number that is not listed in that file.
  4. In the Destination Host field, enter agora.cair.du.edu
  5. In the Destination Port field, enter 21
  6. Click OK.
screen image
  1. Click OK.

  2. In the agora-Secure Shell screen, go to File, and click Save Settings.

screen image


Using QVT/FTP through an SSH tunnel

  1. Start SSH and log into agora.cair.du.edu. The agora_ftp_tunnel that you configured in the previous steps will be established as part of the login process.

  2. Start QVT/FTP.

screen image
  1. Go to File, then click Open Session...

screen image
  1. In the Host field, type 127.0.0.1
  2. In the Username field, type your login on agora.cair.du.edu.
  3. In the Password field, type the password for your login on agora.cair.du.edu.
  4. In the IP Port field, type in the number you used for the Listen Port when you configured agora_ftp_tunnel for SSH.
  5. Click Ok.

    The FTP connection that is established will behave as if you had connected directly to agora.

Publishing with Front Page through an SSH tunnel

  1. Start Front Page and create or modify and save the web pages or webs to be published.

  2. Start SSH and log into agora.cair.du.edu. The agora_ftp_tunnel that you configured in the previous steps will be established as part of the login process.

  3. Return to Front Page.

screen image

 

  1. Go to File, then click Publish Web...

screen image
  1. In the box under Specify the location to publish your web to type ftp://127.0.0.1: followed by the number you used for the Listen Port when you configured agora_ftp_tunnel for SSH, followed by /~, your login on agora, and a Web-accessible folder where you want your web to be published.

  2. Click the Publish button.

screen image
  1. Type your agora login in the Name field.

  2. Type your agora password in the Password field.

  3. Click the Ok button.

Your web will be published as if you had connected directly to agora.