20

Possible Duplicate:
SFTP as a folder on Vista

I'm fairly unfamiliar with Windows, especially Windows 7, but using it for a school project; essentially I have a directory accessible through SSH that I would want to mount in Windows 7 the same way you would do it through sshfs in Linux or OS X, but I don't know of any FUSE port for Windows 7. Does anyone know any easy way to accomplish this in Windows 7?

(Just a regular SFTP client like FileZilla would work, but I'd prefer not to have to manually transfer the file(s) over for compilation every time I make a change, so something that mounts it as a local volume is preferred.)

2

1 Answer 1

19

Take a look at Dokan SSHFS for Windows. Dokan SSHFS is a program that mounts remote file systems using SSH. You will need to install the MSVC 2005 redistributable and the Dokan library available on the SSHFS download page.

Another solution is to use MindTerm along with NetDrive (both have free home versions):

  1. Download and extract mindTerm
  2. Run mindterm.jar (double click it if you can, otherwise in command prompt type in java -jar mindterm.jar)
  3. Type in the host you want to ssh into followed by the username and password
  4. In the menu click on Plugins>FTP To SFTP Bridge…
  5. Type in 127.0.0.1 for the Listen address
  6. Type in 21 for the Listen port
  7. Select the Remote system type
  8. Click Enable
  9. Click Dismiss
  10. Next we want to install NetDrive
  11. Once netdrive is installed, open it up, and click New Site on the bottom
  12. Type in localhost (or whatever you want to call it) for the Site name
  13. Type in localhost for the Site IP
  14. Type in 21 for the Port
  15. Select FTP for the Port
  16. Select a Drive letter
  17. Check Connect as anonymous
  18. Click Save
  19. Click Connect
  20. Click the X to close the window (will minimize to system tray)

There you have it! A SSH/SFTP connection as a drive in Windows. I have tested it in Windows Vista, however it should work just fine in Windows XP.

Source

10
  • Thanks for the reply John :) But do you happen to know anything about Dokan's Windows 7 compatibility? I'm a bit concerned about the fact that its last release was from way before Windows 7 was even released to manufacturing. Does anyone have any idea whether it still works? Thanks! Nov 8, 2009 at 18:15
  • Since 0.3.7 Vista 32 and x64 are supported ( dokan-dev.net/en/2008/08/20/dokan-library-037-released ) so I assume Windows 7 should work. Added another solution in case.
    – user1931
    Nov 8, 2009 at 18:17
  • Unfortunately the Dokan installer won't even run on Windows 7, it automatically complains that it's not a recognized version of Windows :( I may give the NetDrive thing a try though, thanks! Nov 8, 2009 at 18:20
  • Just for curiosity sake, have you tried running it in Vista compatibility mode?
    – user1931
    Nov 8, 2009 at 18:34
  • 2
    Just for an updated reference Netdrive can mount a SFTP by selecting FTP as the server type and going into the advanced setting and change SSL to SFTP using SSH2.
    – codemonkee
    Feb 17, 2013 at 4:40

Not the answer you're looking for? Browse other questions tagged .