CCIT

UA Home CCIT Home UA Search

OS X SSH Tunneling

Revised Mar 12 2003
This webpage is part of the Macintosh SSH documentation. It details how to configure file transport tunneling through SSH to the U-System. (W3 users should substitute the W3 host and their W3 logins where appropriate.) The use of Unix in this documentation is minimal for the sake of U-System Menu users. There are tips you can consider later for streamlining some of these processes but they require a modest amount of comfort with Unix.

If tunneling seems painful to you, you might consider Fugu as an alternative to Fetch.

There are many techniques for accomplishing most of this and, if you have a way that's more straight-forward or simpler, please share it. If more detail is requested (through the mailto: at the bottom of this webpage), it will be provided in the future.

Your Fetch or GoLive or DreamweaverMX or Dreamweaver4 application communicates with the SSH application ("client") also running on your Mac. It does this through an artificial input/output mechanism (a "virtual port") which you must define. These applications collaborate--one hands-off files to SSH and SSH securely sends the file out its tunnel to the remote host.

The SSH connection (and its tunnel) must be kept open for communication and file-transport between your Mac applications and the remote host.

  • Activate Finder (click on your Mac Desktop or click on Finder in the Dock).
  • Under Go, open Applications.
  • Open the Utilities folder.
  • Choose Terminal by double-clicking.(You will be using Terminal often if you need to copy files to the U-System frequently so you may want to make an alias for Terminal (under File).)
  • To establish the SSH tunnel (through which applications like Fetch and GoLive move files to and from your Mac and the U-System), you need to enter the SSH command:
 ssh  -l your_NetID  -L 1024:u.arizona.edu:21  u.arizona.edu 
Note that the -l option in front of where you enter your_NetID is "dash, lowercase L". W3 users should substitute the name for their W3 account. The numbers in the command are virtual ports and those exact numbers must be used. Here's how you can set up a shortcut for this ssh command.
  • The first time you attempt this log in, you will get the message "The authenticity of host 'u.arizona.edu...' can't be established...." It is safe to reply yes.
  • You'll be prompted for your U-System password.
  • Your Terminal window turns into a U-System session (illustrated in Shell mode here but this works for the Menu interface also):

    U-System login via tunnel

  • This SSH connection can be used for more than tunneling applications, like Fetch and GoLive. You can use it for your usual U-System activities, like doing lists of files or running the wwwaccess command to set webpage read-permissions.
  • When you have finished with your tunnel, "exit" or "quit" the connection (depending on the interface you use).

go-back arrow SSH on Mac OS X
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