How To Map Linux Directory In Windows Explorer

While using ssh, we can access linux directories in windows explorer through map network option. For doing this follow these steps

Step 1  Installation

We required two tools for mapping linux network drive. Both tools will help to connect network drive in the explorer

  1. Install the latest version of WinFsp (

WinFsp is used for the fuse facility

  1. Install the latest version of SSHFS-Win (

SSHFS allows to access and mount a remote filesystem using SFTP. If SSh service is running on the server it supports and enable this SFTP access by default, so SSHFS is very easy to use. There is no need to configure any special service or configuration on the server side

After installation of WinFsp and SSHFS-Win we can map a directory on an SSHFS host using Windows Explorer or the net use in command line.


Step 2

Procedure – I

Windows Explorer (Windows + E)

In Windows Explorer select  the option

This PC—– > Map Network Drive and enter the drive letter and SSHFS path using the following syntax:


e.g  \\sshfs\root@\tmp

After the execution it prompts for the username and password for the remote server. You can use the save these credentials option with windows credential manager

Now To disconnect/unmap the drive, select drive and right click and choose disconnect option.

Procedure – II

Command Line

Net use command can be used to map drive in windows command line

C:/ > net use Z: \\sshfs\username @hostname(IP address)


List drives with the net use command

$ net use

For unmap/disconnect the attached drive

$ net use Z: /delete


, , , , , , , ,

One Reply to “How To Map Linux Directory In Windows Explorer”

Leave a Reply