Howto sshfs

From ImageWiki

Jump to: navigation, search

This page explains how to mount a cluster disk directory locally on your laptop. This works on the new cluster.

Insert this into .ssh-config:

 Host bastion
   User xxxnnn
   HostName ssh-diku-image.science.ku.dk
 Host *-diku
   User xxxnnn
   HostName %h-image.science.ku.dk
   ProxyCommand ssh -q %r@bastion netcat %h 22

Remember to change the User accordingly.

Install sshfs and on MacOSX also osxfuse (on Yosemite this must be done via http://osxfuse.github.io

Now you mount the cluster directory with this command:

 sshfs compute02-diku:the-folder-you-want-to-mount /path-to-favourit-mountpoint-on-your-machine
Personal tools