Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > How to do a Finder NFS mount over SSH tunnel?

How to do a Finder NFS mount over SSH tunnel?
Thread Tools
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Feb 8, 2003, 04:18 AM
 
I would like to be able to mount my work cluster's file system at home. The cluster runs Linux and uses NFS. nfsd is running on the file server. I can log into the machine via SSH but I can't do a NFS mount (from a remote location) for security reasons (which is reasonable...). So what I wanted to do is mount the NFS through a SSH tunnel. How?

- What port is NFS on? How can I tunnel this port through SSH? There used to be a hint on this board somewhere, but I can't find it anymore. Something like ssh -Lport_num server.domain.tld ?

- How do I do a NFS mount in the Finder? Is it enough to put nfs://servername.domain.tld in the "Connect to Server" window?
     
Mac Elite
Join Date: May 1999
Location: San Jose, CA
Status: Offline
Reply With Quote
Feb 8, 2003, 04:02 PM
 
nfs uses port 2049, however, it also uses RPC/portmapper to dynamically map ports to services, and I'm not aware of any way of handling that.

The quick tests I ran here didn't work.

It might be easier to do using a single-port protocol. Being a linux box it probably has Samba installed. If enabled, you might have more luck tunnelling smb/netbios (port 139)
Gods don't kill people - people with Gods kill people.
     
Junior Member
Join Date: Jan 2003
Status: Offline
Reply With Quote
Feb 8, 2003, 06:45 PM
 
     
Simon  (op)
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Feb 8, 2003, 08:41 PM
 
Thanks for the info guys.

In that case I'm stuck with Samba. I don't wuite understand this however. I thought Samba was to connect to Windows file systems. Does this make sense between UNIXs? Is this efficient?

And how can I launch Samba in the Finder? Doesn't it use a strange notation with backslashes?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:31 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2