Howto sshfs

From ImageWiki

(Difference between revisions)
Jump to: navigation, search
(Created page with "This works on the new cluster.")
 
Line 1: Line 1:
 +
This page explains how to mount a cluster disk directory locally on your laptop.
This works on the new cluster.
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

Latest revision as of 13:58, 10 November 2014

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