From Documentation
Jump to: navigation, search
(Linux/Mac)
(Instructions)
Line 3: Line 3:
 
=Instructions=
 
=Instructions=
 
==Linux/Mac==
 
==Linux/Mac==
 +
===Installation===
 
You may have to first install SSHFS on your local system.  Use the following commands to install SSHFS:
 
You may have to first install SSHFS on your local system.  Use the following commands to install SSHFS:
 
* Debian/Ubuntu: sudo apt install sshfs
 
* Debian/Ubuntu: sudo apt install sshfs
 
* Centos: yum install sshfs / yum install fuse-sshfs (need to verify).
 
* Centos: yum install sshfs / yum install fuse-sshfs (need to verify).
 +
 +
===Usage===
 +
To mount a drive use "sshfs [user@]host:[dir] mountpoint [options]".  In the following example there are two steps: (1) create the target directory, (2)mount the fs.  Take node of the absolute path "/home/user/project" as opposed to the relative path "~/project" which may not work.
 +
mkdir ./project
 +
sshfs user@graham.sharcnet.ca:/home/user/project/ ./project
 +
To unmound a drive use "fusermount -u mountpoint".  For example to unmount the mount from the previous example:
 +
fusermount -u ./project
  
 
==Windows==
 
==Windows==
 +
 
=About=
 
=About=

Revision as of 09:10, 11 August 2017

Introduction

Secure SHell File System (SSHFS) allows a user to mount a directory from a remote server.

Instructions

Linux/Mac

Installation

You may have to first install SSHFS on your local system. Use the following commands to install SSHFS:

  • Debian/Ubuntu: sudo apt install sshfs
  • Centos: yum install sshfs / yum install fuse-sshfs (need to verify).

Usage

To mount a drive use "sshfs [user@]host:[dir] mountpoint [options]". In the following example there are two steps: (1) create the target directory, (2)mount the fs. Take node of the absolute path "/home/user/project" as opposed to the relative path "~/project" which may not work.

mkdir ./project
sshfs user@graham.sharcnet.ca:/home/user/project/ ./project

To unmound a drive use "fusermount -u mountpoint". For example to unmount the mount from the previous example:

fusermount -u ./project

Windows

About