login:sshfs-win:start
This is an old revision of the document!
SSHFS - Windows
Mapping network drive via SSHFS for Windows
Requirements:
- Download and install the latest version of WinFsp · Windows File System Proxy
https://github.com/billziss-gh/winfsp/releases/latest
- Download and install the latest version of SSHFS For Windows
Basic Usage
Once you have installed WinFsp and SSHFS-Win you can map a network drive to a directory on an SSH host using Windows Explorer.
Mapping your home directory via Windows Explorer
In Windows Explorer select This PC > Map Network Drive and enter the desired drive letter and SSHFS path using the following UNC syntax:
\\sshfs\REMUSER@indigo.eecs.yorku.ca For example \\sshfs\paulg@indigo.eecs.yorku.ca
The first time you map a particular SSHFS path you will be prompted for the SSHFS username and password. You may choose to save these credentials with the Windows Credential Manager in which case you will not be prompted again.
In order to unmap the drive, right-click on the drive icon in Windows Explorer and select Disconnect.
More Examples - command line
- The
sshfs
prefix maps toHOST:~REMUSER/PATH
on the SSHFS host (i.e. relative toREMUSER
's home directory). - The
sshfs.r
prefix maps toHOST:/PATH
on the SSHFS host (i.e. relative to theHOST
's root directory).
- Mapping www from indigo use \\sshfs\REMUSER@indigo.eecs.yorku.ca\www
- Mapping share from indigo use \\sshfs.r\REMUSER@indigo.eecs.yorku.ca\eecs\dept\share
login/sshfs-win/start.1584385259.txt.gz · Last modified: 2020/03/16 15:00 by paulg