Main Content

SSHFS in Windows

This post will cover the required steps to configure a working SSHFS client set-up in Windows. With SSHFS you can mount a remote directory via SSH as if it were a local drive, while SSHFS is common on Linux/Nix* Windows is a different story. To make use of SSHFS in Windows you will need to download win sshfs a free SSHFS application.

You will need to download the following files to have a working SSHFS setup:

Let’s Start

Note:I’ve only used password for authentication, I have not tried key files yet…

You will need to download win sshfs from the following link code.google.com/p/win-sshfs/ , once the download completes install the application.

Windows SSHFS

Click on Next to continue.

Windows SSHFS

Accept the license agreement and click on Next.

Windows SSHFS

Hopefully you already installed the pre-requisites I mentioned above, otherwise the application will refuse to install. Otherwise, go back an install them. Click on Next to continue.

Windows SSHFS

Accept the default path and click on Next.

Windows SSHFS

Click on Finish to launch the application.

Windows SSHFS

Now in SSHFS Manager click on Add, we need to add a new connection.

Windows SSHFS

This is where we connect to the SSH server, in my case the server runs Ubuntu 12.04. Enter a name, server IP address, user credentials and for the rest go with the defaults if you like.

Windows SSHFS

First click on Save and then click on Mount.

Windows SSHFS

If you provided the correct server information your SSHFS connection should now be mounted.

Windows SSHFS

You can verify this by going to My Computer, the new SSHFS drive will be mounted as a removable drive.

Windows SSHFS

By default the application will start at start-up, you can change this behavior by going to Taskbar, right clicking on the application icon and un-checking Run at startup.

Windows SSHFS

Win SSHFS so far as worked quite well for me, I like the idea of having access to SSHFS from my Windows 7 computer. If you find any mistakes of have suggestions don’t to leave a comment.

Links

Dokan library 0.6.0 dokan-dev.net/en/download/

win sshfs code.google.com/p/win-sshfs/

.NET Framework 4.0 microsoft.com/en-us/download/

Comments

  1. Commented on
    Comment by a

    thks!

  2. Commented on
    Comment by Omar

    Thank Luis… it works out beautifully following your intructions… thanks again for sharing this knowledge…
    kindly regards,
    Omar Menchaca.

    1. Commented on
      Comment by ste

      /etc/ssh/sshd_config:
      PasswordAuthentication yes
      service ssh restart

  3. Commented on
    Comment by anonymous

    Gustavo Rafael: You are trying to login as root, and root ssh login is disabled by default in most Linux distros. Could this be the problem?

    1. Commented on
      Comment by Gustavo Rafael

      No, I’ve also tried with other users

  4. Commented on
    Comment by Samuel Viana

    Sorry to say but I didn’t work for me, on Windows XP and even Windows 7, this last one being 64 bit-based.

  5. Commented on
    Comment by jakka

    Works awesome! can you set this up so that you can ssh forward to another remote directory on another pc?

    Thanks for the tute! 🙂

  6. Commented on
    Comment by Gary

    Wonderful! Works like a charm!

  7. Commented on
    Comment by Mathieu

    Hello, the new download url for WIN-SSHFS is:
    https://win-sshfs.googlecode.com/files/win-sshfs-0.0.1.5-setup.exe

  8. Commented on

    […] Get sshfs to work on Windows to mount my servers […]

  9. Commented on

    […] best method of using SSHFS with Windows I’ve found is outlined here, I’ve not tried with anything but a password yet but I’ve now mounted the disk of a […]

  10. Commented on
    Comment by Computer Corner

    Gustavo Rafael,

    “PasswordAuthentication no” prevents it as passwords are sent in the clear. Setup Key Based Authentication to get around the problem.

    1. Commented on
      Comment by Gustavo Rafael

      Computer Corner, Using Putty I usually can

  11. Commented on
    Comment by ChrisS

    Followed this and it works well. Am using Amazon EC2 and had to copy my .pem key file and change line length from 77 chars with CRLF to 64 chars with LF before SSHFS would authenticate with it.

  12. Commented on

    […] Official Website Ubuntu’s Article on SSHFS Enable SSH for a user in Parallels Plesk SSHFS in Windows – Linhost Article I have taken a few images from the site for academic purposes. Win SSHFS on Google […]

  13. Commented on
    Comment by Gonzalo Jarjury

    Thx so much for this tutorial, so useful ! 🙂

  14. Commented on
    Comment by Derek

    Thanks! It works great, and it’s much easier than screwing around with Samba/CIFS shares on a server. Now, I can directly edit scripts and config files in Notepad++!

    I only wish I didn’t have to save the password in the profile to get it to connect.

Comments are closed.