| Revised Oct 10 2003
This webpage is part of the SSH documentation. There are other pages
which document methods for secure connection and file transport specific
to Macs. This page details how to accomplish
Dreamweaver4 file transfers to and from u.arizona.edu
through an SSH tunnel while running under Windows. However,
the sections on Dreamweaver Setup and File Copying are the
same for Macs and PCs.
Here are tunneling instructions for DreamweaverMX.
Since DreamweaverMX 2004 uses Secure FTP, it does not need to tunnel.
SSH
You must configure and start a tunnel to your webserver through a secure
(SSH) connection.
Dreamweaver Setup
- Start Dreamweaver.
- From the main menu under Site choose Define Sites.
- Click the New button.
- Click Local Info from the Category list in the left
pane and configure the Local Info on the right like the sample
below.
- The Site Name can be whatever you choose but tunnel
was chosen to indicate this is the path to SSH's file-transfer
tunnel.
- Click on the folder icon to select the Local Folder you
will use most often to store Dreamweaver files.
- Clear the HTTP Address field.
- Uncheck the two checkboxes, Refresh Local File List and
Cache
(leaving them checked will slow down the transfer process).
- If a small window opens and asks if you want to create a cache
file for this site, click Don't Create.
- Do not click OK yet.

- Click Remote Info in the left pane and configure the Remote
Info on the right like the sample below.
(For V.3 Dreamweaver click Web Server Info and choose
FTP)
- Next to Access click the dropdown arrow and choose FTP.
This makes more options appear.
- For FTP Host use the word localhost or 127.0.0.1
(these two values are synonymous for the location where Dreamweaver
places outgoing files and watches for incoming files).
- For Login use your UA NetID.
- Click OK.
- Click Done in the Define Sites window.

- From the main menu under Edit choose Preferences.
- Highlight Site and verify that Firewall Port is set
to 21.
- Click OK.

- You can go back and define more sites if you have other Login names
on other webservers to which you want to tunnel, otherwise, you are
done with your one-time tunel definition. If you have the same
name on all the webservers you use, this single tunnel definition will
work for all of them.
To Copy Files between the U-System and Dreamweaver
You have several options for copying files - one under Dreamweaver and two
using Windows with SSH directly.
All of
these options require that an SSH session be active.
File Copying with Dreamweaver
To make your SSH tunnel active, login to the remote host using
SSH. Then, using Dreamweave, copy files.
- From the main menu under Site choose Open Site.
- A window opens with your default directory listed.
- In this window under Site choose Connect or click the
Connect icon on the toolbar.
- Here you will be prompted for your password.
- Highlight local or remote files that you want copied. Use the Shift
key to select a range of files.
- Use the down-arrow to get files to your PC (under
Site there is a Get option also).
- Use the up-arrow to put files to the U-System/web
server (under Site there is a Put option also.)
- Use the drag-and-drop capability to copy files by dragging
a highlighted file and dropping it in the opposite pane.

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 verify the permissions
to make your page viewable on the web
- When you have finished, remember to Disconnect on Dreamweavers
toolbar and Exit the Dreamweaver and SSH applications
that you have running.
|