Anyone know how to map a Linux (CentOS 6.2) drive to a Mac (Snow Leopard)? I have root privileges. The Linux machine is not in a local network, but accessed via the internet.

3 Answers 3


I don't know about other people, but sshfs works fine for me. Alternatively, you could set up a VPN and then do a samba mount, which is cumbersome but works.

Or better yet, you could do a nfs mount, which is about as simple as you can get.

  • Thanks qweet. Looks like the link you provided states it's only valid for Leopard. Curious though. Did you go through the whole process in the link, or could possibly I just use sshfs alone somehow to keep things much simpler?
    – gkdsp
    Feb 15, 2012 at 20:54
  • What do you mean by simpler? You install SSHFS, and its the prerequisites, then you connect.
    – Zoredache
    Feb 15, 2012 at 21:19
  • By simpler I mean, do I need to install MacFuse and Macfusion (or equivalent; sounds like "yes")? Regarding the nfs mount link, this looks simpler, but there's no mention of logging in anywhere to the server. Should the Mac user enter username and password to access the server somewhere in this process?
    – gkdsp
    Feb 15, 2012 at 22:05

If you want to use the native AFP protocol to share with the Apple, use netatalk:

$ yum info netatalk
Available Packages
Name        : netatalk
Arch        : i686
Epoch       : 4
Version     : 2.2.0
Release     : 2.el6
Size        : 694 k
Repo        : epel
Summary     : AppleTalk networking programs
URL         : http://netatalk.sourceforge.net/
License     : GPLv2+
Description : This package enables Linux to talk to Macintosh computers via the
            : AppleTalk networking protocol. It includes a daemon to allow Linux
            : to act as a file server over EtherTalk or IP for Mac's.

It's in the EPEL repos.

Since the other box is somewhere on the Internet, you can can use OpenVPN to set up a connection between the two. If the Linux box is the OpenVPN server, TunnelBlick works very well as an OpenVPN client on the Mac.


iSCSI is another possible solution for your problem.

While the iSCSI-target is freely available on CentOS, you probably have to buy a iSCSI-inittiator solution for MAC. At least I found some hits with reports about working commercial iSCSI-initiators for Snow Leopard.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .