Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

There is a remote server that I can connect to only via SSH, and storage space have been allocated for me in that server.

Is there a software that lets me "mount" a network share via SSH so that I can use it as if it is a local folder?

I strongly prefer cross-platform and Free (as in Freedom) solutions, but anything you can think of I'd love to know.

Thank you!

share|improve this question
add comment

2 Answers 2

up vote 7 down vote accepted

Use HomeBrew to install fuse4x and sshfs

The commands to install are:

brew install sshfs

when you run it, it gives two other commands that I needed to run in order to install the fuse4x kernel extension. Run them.

Then, to mount the ssh filesystem

mkdir ~/mymountdir
sshfs username@hostname:/home/thedir ~/mymountdir

it will ask you for your password.

share|improve this answer
    
Thanks for your answer! Since I already have MacPorts setup I discovered it has sshfs, too. –  hpy Jan 20 '12 at 20:23
    
You actually don't need MacPorts or HomeBrew at all to do this. –  l'L'l Jan 20 '12 at 21:04
add comment

I've not tried it, but for what it's worth, the man page for the Unix mount command lists that you can connect to remote systems:

The mount command calls the mount(2) system call to prepare and graft a
special device or the remote node (rhost:path) on to the file system tree
at the point node.  If either special or node are not provided, the
appropriate information is obtained via the getfsent(3) library routines.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.