This document is merely a "how to set this up" document. Those explanations of the reasons for doing this can be found on the SSH and (vs.) VPN page.
This document has instructions for configuring both the Macintosh SSH
client and a Macintosh FTP client. If you only want to install and configure
the SSH client, simply follow the MacSSH instructions below. Even if you
don't want to set up FTP client right away, it would be prudent to configure
the MacSSH to support FTP port forwarding, since you'll probably want to
use it eventually. Installation instructions for the software come with
them, when you download them.
FTP stands for File Transfer Protocol. Fetch is merely a common version
of FTP with a nice user interface for Macs. So where it says FTP, read
Fetch, if you're using Fetch.
There are major security concerns with creating these tunnels. When you
create them, remember:
Step 2: Configuring MacSSH to do FTP port fowarding through SSH.
Launch the program by clicking on the MacSSH icon:

To simply open up an SSH session to the server, choose File / Open Connection

Type in the server's name or IP address in Host name.
Make sure you click on Secure Shell, otherwise you'll be using
an unencrypted session; the University servers will not accept it.
Window Name just places a title on your window. It makes it easier
to keep track of, but doesn't affect anything else.
Add a host with FTP port forwarding enabled: (creating the SSH tunnel)
In MacSSH, Go to the Favorites / Edit Favorites menu item.

Click on New to get this dialog:

You need to set an alias, which is a nickname you'll see in the list of aliases,
hostname, which is the Unix machine to which you are connecting, and port number
(See the SSH and (vs) VPN page).
Alias: Can be anything, but make it easy to remember, such as
ftp_www for an ftp tunnel to the webserver
Host Name: Can also be the IP address. Contact your System Administrator
if you're unsure what to use.
Port: You can either type in 22 or select SSH
from the picklist. Anything else won't work.
Leave the Network and Terminal tabs unchanged, unless you like things
on Terminal to be different.
Next, click on the Security tab:

Protocol: needs to be changed to SSH (Secure Shell).
Leave the OTP tab unchanged, unless your site uses One Time Passwords.
Next, click on the SSH2 Tab:

There are lots of things that have to be set on this tab:
- Alias will be carried across from when you set it on the General tab.
- You can leave the Encryption, Authentication and compression picklists alone.
- Choose as your Method: LocalTCP port forwarding
- Local port: 21 Remote Host: server name or IP address Remote port: 21
- Port 21 is the FTP (Fetch) Port. The Remote Host will be the same information that you put on the General Tab, under Hostname.
- Do NOT click on the Enable Guests checkbox. This would allow other people from other computers to use your ssh tunnel to connect to the server using your username and password.
- Leave firewall tab unchanged.
When you're done with all of that, click OK, this will create
a new shortcut with all of the properties you just set, saved with the
Alias name you gave it.
This will put you back to the Favorites windows. Click
OK.
You can now run this shortcut from the Favorites menu to log
into the Server and create your tunnel. You must do this prior to any Fetch
connection to the server.

Just type in your username and password, and a window will open up similar
to your other Telnet sessions: This has opened your SSH port forwarded
FTP tunnel.

The Lock in the upper right hand corner tells you that everything you
send across this connection is encrypted.
Click OK, and a shortcut (also called alias or bookmakr) will be created.
You can access it from the Shortcuts picklist on the New
Connection... dialog just above, and from the File / Open Shortcut
menu item.
The Netscape Composer Publish utilty is simply a different way to use
FTP. You create the MacSSH tunnel just as you would
for Fetch.
In your Netscape Publish settings, replace the server name (something@geo.umn.edu)
with username@localhost where username is your username on the Unix
server. Actually use the word localhost. (yes, localhost. This is telling
fetch to use your tunnel. Your tunnel is listeneng for this connection
on Local Port 21, which you set in MacSSH.)