jump to navigation

Using sshfs to Access Remote Directories in Windows March 5, 2007

Posted by Carthik in guides, Readers' Tips, servers, ubuntu.
trackback

I had a tough time deciding on a title for this post/article (“in” Windows or “on” Windows? I give up!).

J Wynia writes in to share a method to how to access remote directories, such as those on your web server through sshfs on Windows. Actually that’s not the full story.

The full story is:
1) Install Ubuntu in a virtual machine in Windows
2) Setup sshfs and use that mount your remote directory
3) Setup the sshfs-mount as a Samba share
4) Access said Samba share from Windows

Tin foil hat people keep away! :) Also, the author mentions troubles with his Ensim server administration software (which he worked around). Folks who use cPanel or some other server control panel might have some trouble too.

So head over to the article already!

My old article on mounting remote directories using sshfs is what prompted J Wynia to write it.

Comments»

1. Fabian Rodriguez - March 5, 2007

Mmhh.. installing Ubuntu in a VM in Windows seems overkill for this… can’t the same be accomplished with Cygwin ?

2. Roger Lipscombe - March 6, 2007

Fabian: No the same can’t be accomplished with Cygwin. sshfs is a filesystem driver. On Linux, this is implemented in user space using FUSE. On Windows, the filesystem driver development kit costs money, and probably isn’t compatible with the GPL.

I thought that the ext2 drivers for Windows contained some kind of kernel-usermode IFS (like FUSE), but it appears that I was wrong.

As for the overkill factor: If you’ve got a Linux box handy, you can use that. If you haven’t, and you’re forced to use Windows, you could probably justify having a Linux VM knocking around anyway.

Other alternatives include putting together Apache 2.x on Windows with an installable WebDAV module that used OpenSSH to retrieve the files. You could then use Windows native DAV client to access the files.

3. james dot schumann » links for 2007-03-06 - March 6, 2007

[...] Using sshfs to Access Remote Directories in Windows « Ubuntu Blog (tags: ubuntu development remotecomputing) [...]

4. Guido - March 6, 2007

There are also tools for windows for this purpose, for example WebDrive or sftpDrive. Both are “shareware” though, I haven’t found a really free tool yet. I’m using sftpDrive regularly, works well.

5. Mr. Shiney - March 8, 2007

I’m partial to “in Windoze” myself. Anything on Windoze is likely to result in lacerations.

6. Ken - April 6, 2007

um…. openssh makes a windows port.

7. Sanguis - June 27, 2007

is there a way to make the mounting on the dir work via a gui icon?

8. litio - August 13, 2008

there is sshfs for windows http://dokan-dev.net/en/

9. Ajay - August 20, 2008

Litio, thanks for the link, its a life saver!

10. paulalt - December 2, 2008

litio, it’s a great find!

11. Dokan SSHFS - SIGSEGV - April 20, 2009

[...] 追記:仮想マシン経由だったらやってる人がいますね. 他にも, Cygwinでやろうとしてる人も. fuseのコンパイルまではできてるっぽいから, あとはsshfs自体の修正. 方針は示してくれてるから, ちょっとやってみようかな. [...]

12. sikiş izle - September 26, 2010

ooh neat. thanks!

13. antalya ilaçlama - September 27, 2010

Mmhh.. installing Ubuntu in a VM in Windows seems overkill for this… can’t the same be accomplished with Cygwin ?

14. porno sikiş - September 27, 2010

Both are “shareware” though, I haven’t found a really free tool yet. I’m using sftpDrive regularly, works well.

15. sex sikiş - September 28, 2010

As for the overkill factor: If you’ve got a Linux box handy, you can use that. If you haven’t, and you’re forced to use Windows, you could probably justify having a Linux VM knocking around anyway.

16. kerem - November 2, 2010

Actually there is an easier way for mapping drives via SSH

http://smithii.com/map_a_network_drive_over_ssh_in_windows

17. antalya böcek ilaçlama - August 8, 2011

antalya ev ilaçlama

18. xmas 2012 - November 25, 2011

bit of a shopping guide website below good things to buy and christmas 2011 ideas as well, thanks, nice website you have here as well really professional as well!!!!!! cheers

shopping ideas for xmas link click here

19. konteyner yapılar - April 10, 2012

konteyner yapılar, konteyner ofisler, konteyner ürün modelleri, konteyner ürün çeşitleri


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 520 other followers

%d bloggers like this: