Skip to content Skip to navigation

How to Mount Rutgers AppleShareIP Fileserver Securely from Home for MacOS X

By Hanz Makmur - LCSR Computing Facility Rutgers University


Last Modified: Feb 5, 2003



You have files sitting on an AppleShareIP fileserver or a Personal File Sharing running of MacOS 8.5 or higher, that can be accessed only from inside Rutgers. You want to be able to mount this fileserver shares securely on your home computer via your DSL or Cable modem service.



This is can easily be done by setting up a secure encrypted tunnel via your unix account on a machine such as or and use it as a router to fileserver whose volume you would like to mount. The method we will be using is known as local port forwarding.


Setting up a secure AppleShare tunnel on home computer running MacOS X


To setup your MacOS X computer to access AppleShare fileserver at Rutgers, do the following:

  1. Set up a Secure Tunnel for AppleShareIP Fileserver
  2. Mount the AppleShareIP Fileserver Securely.
  3. Unmounting Volume and Closing the Tunnel


1. Set up a Secure Tunnel for AppleShareIP Fileserver


First we have to establish a tunnel to the Rutgers fileserver that we would like to access. Use the following steps to setup the tunnel:

a.        In MacOS X, run the terminal program by double clicking on it. The Terminal program is located in Applications/Utilities/Terminal

Figure 1.


b. A terminal window will open. In the prompt type the following line to establish a secure tunnel for the fileserver:


% /usr/bin/ssh -N -L

and you will be asked for a password. Enter your password here. On a successful tunnel, nothing will happen on the screen as if the connection is waiting for something. This is the correct behavior.


Details of options to the above ssh command:


tells ssh to only handle tunnel, you do not want a shell on this host


specifies the kind of tunnel (Local port forwarding)


the local port we will use to connect

Example of AppleShareIP fileserver that can be mounted only from Rutgers Network.


the server port where the service is running


the username you want to connect as.

the ssh server you will use as the gateway to the service


  1. Now you are ready to mount the AppleShareIP fileserver volume from your MacOS X machine.


2. Mount the AppleShare IP Fileserver Securely.


Now that a secure tunnel have been established between your home MacOS X computer and the Rutgers fileserver via, we can securely mount a Rutgers restricted fileserver onto the desktop of your home computer. Just like being in your office, to mount a fileserver (in this, you must have an account on the fileserver. Do the following to mount the fileserver securely:


a.        Go to the Finder by clicking on the Desktop .

Next click the GO menu and select Connect to Server as shown in Figure 2.

Figure 2

b.       A Connect to server window will open as shown in Figure 3. In this window, enter the following in the Address field:


Figure 3.


c.        Click the Connect button to connect to the fileserver. An authentication window as shown in Figure 4 will open and ask you to enter Username and Password to access remus Aufs fileserver.

Figure 4.


d.       After you enter the required Name and Password above, click the OK button.

Figure 5.

e.        On a successful authentication, you will see the fileserver share mounted on your computer�s desktop as shown in Figure 5.


Figure 6.


3. Unmounting Volume and Closing the Tunnel

To unmount the mounted network volume shown in Figure 6, click on the icon of the mounted volume and select Eject from the File menu. To remove the tunnel, press control-c on the session window as shown in figure 1 and steps 1a above.


This completes the instruction on How to Mount Rutgers AppleShareIP Fileserver Securely from Home for MacOS X. If you have any questions, please contact HelpDesk