Map remote drive in Windows over SSH

Does anyone know of a good (hopefully free) tool that can be used to map a Linux server accessible over SSH/SCP as a Windows network drive?

EDIT: SFTP not supported

EDIT2: Windows File Sharing/Samba not supported


Originally I recommended It adds an 'Other' Swish drive in which each folder is an SFTP connection however this can't be accessed in all applications such us Java based Eclipse IDE or Notepad++.

An alternative that works is or even runing Apache WebDAV (over SSL) as windows can natively map these drives - however at the moment I am yet to find a perfect solution.


As of 2008 I'm not aware of any solution that supports SCP, but there is a nasty horrible evil hack which should work (install Linux in a virtual machine, install sshfs, make a samba share, mount that on the host Windows machine).

You're probably better off just using WinSCP.

EDIT: there is now also

Just follow instructions to use free PuTTY

I think you're going to have to go back and re-evaluate your prior assumptions/designs.

I suggest:

  1. Scripting periodic fetches of the log-files with (p)scp.
  2. Performing the log analysis on your local drive.

Even if you find something that will map a drive to an scp connection, I doubt it will allow the live updating style that would be required for log monitoring, since I don't see how you would implement that with the underlying scp protocol.


  1. Configure putty to write out a log file from the connection.
  2. Do tail -f in the putty connection.
  3. Do the log analysis against the putty log file.

There is a commercial tool called WebDrive which supports SCP, FTP, WebDAV.

Any reason you can't just set up a samba share on the server?

If you want to access and read server logs on a remote machine that is running an ssh server (daemon) you can use the free SSH tool PuTTY.

Just connect to the server, browse to the log file and view the log using a text editor such as 'Vi' or if you want to view it in real time use the command:

> tail -f /logdirectory/test.log

My initial thought was SSHFS, but that's for *nix-like OSes (Linux, BSD, Mac OS, etc).

For Windows, the option appears to be what @moonshadow suggested, SftpDrive.

If you have ssh running, you should have sftp available, as it runs over the standard ssh stack (especially if you're running OpenSSH as your daemon).

also check out Dokan

it's iffy, but it works, and it's free

Dokan and DokanSSHFS.

I'm using it and it works.

When you want to create a new file system on Windows, for example to improve FAT or NTFS, you need to develop a file system driver. Developing a device driver that works in kernel mode on windows is extremely difficult.By using Dokan library, you can create your own file systems very easily without writing device driver. Dokan Library is similar to FUSE(Linux user mode file system) but works on Windows.

Dokan means ‘clay pipe’ in Japanese. The Dokan library works as a proxy and looks like a ‘pipe’.

Map remote drive in Windows over SSH

You can use SftpDrive,

However, this bug reported on their support forums makes it almost unusable for editing files with Emacs:

If you have Samba on your server, you can try this tutorial

You can use Netdrive + Tunnelier ssh drive is read only

You can mount a drive over SSH using Windows built-in features, but it's a little involved. See:

There is a windows port of SSHFS that might help:

After launching the win-sshfs program, you will be presented with a graphical interface to make the process of mounting a remote file share simple.

  1. Click the Add button in the lower left corner of the window.
  2. Enter a name for the file share in the Drive Name field.
  3. Enter the IP of your droplet in the Host field.
  4. Enter your SSH port. (Leave as port 22 unless you have changed the SSH port manually).
  5. Enter your username in the Username field. (Unless you have set up user accounts manually you will enter root in this field).
  6. Enter your SSH password in the password field. (Note on Windows you will need to have your droplet configured for password logins rather than ssh-key-authentication).
  7. Enter your desired mount point in the Directory field. (Enter / to mount the file system from root. Likewise you can enter /var/www or ~/ for your home directory).
  8. Select the drive letter you would like Windows to use for your droplets file system.
  9. Click the Mount button to connect to the droplet and mount the file system.

Now your virtual server's file system will be available through My Computer as the drive letter you chose in step 8.

Usage instructions

I have used both SFTP net drive and ExpanDrive in the past and I can tell you SSHFPS outperforms both without a question.

Category: ssh Time: 2008-10-09 Views: 43
Tags: ssh scp

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.214 (s). 12 q(s)