login:sshfs-win:start
This is an old revision of the document!
Table of Contents
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
- 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
- Mapping www from indigo - command line
C:\Users\Administrator>net use w: \\sshfs\REMUSER@indigo.eecs.yorku.ca\www The password is invalid for \\sshfs\REMUSER@indigo.eecs.yorku.ca\www. Enter the user name for 'sshfs': REMUSER Enter the password for sshfs: The command completed successfully.
- Mapping share from indigo - command line
C:\Users\Administrator>net use w: \\sshfs.r\REMUSER@indigo.eecs.yorku.ca\eecs\dept\share The password is invalid for \\sshfs.r\REMUSER@indigo.eecs.yorku.ca\eecs\dept\share. Enter the user name for 'sshfs.r': REMUSER Enter the password for sshfs.r: The command completed successfully.
login/sshfs-win/start.1584386116.txt.gz · Last modified: 2020/03/16 15:15 by paulg