From Documentation
Jump to: navigation, search
(Usage)
(Windows)
Line 24: Line 24:
  
 
===Usage===
 
===Usage===
[[File:winsshfs.png|thumb|left|alt=The winsshfs gui interface.|GUI Interface.]]
+
[[File:Winsshfs.png|thumb|left|alt=The winsshfs gui interface.|GUI Interface.]]
 
'''To mount a new drive perform the following steps:'''
 
'''To mount a new drive perform the following steps:'''
 
#Give the drive a name under "Drive Name"
 
#Give the drive a name under "Drive Name"

Revision as of 09:49, 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 unmount a drive use "fusermount -u mountpoint". For example to unmount the mount from the previous example:

fusermount -u ./project

Windows

WINSSHFS provide a graphical interface for using SSHFS on windows.

Installation

To install winsshfs you will need to install two programs. The first, "dokan" is a FUST (Linux file system in user space) implementation for windows. The second "winsshfs" in the gui interface. You can find the original instructions at the winsshfs gihub repository.
Links:

  1. dokan latest stable release 1.0.3
  2. winsshfs 1.6.1.13 RC5

Usage

The winsshfs gui interface.
GUI Interface.

To mount a new drive perform the following steps:

  1. Give the drive a name under "Drive Name"
  2. Enter the host address.
  3. Enter your username.
  4. Choose an authentication method (private key is recommended).
  5. Select the directory containing your private key.
  6. Choose the remote source directory.
  7. Chose The local drive letter you would like to use.
  8. Click save.

About