rulururu

post Using SSHFS to mount remote directories

December 6th, 2006

Filed under: Linux, Operating Systems, Ubuntu — Brenton Alker @ 17:56

Well, this is one of the niftiest utilities I’ve found in a while. It’s dawned on me in the past that this should be possible, but I’ve never really investigated it until now, probably because at work my desktop is a Windows box.

The sshfs "driver" allows transparent mounting of a remote directory via the standard SSH protocol.

I’m using sshfs to remotely mount the a directory on my development web server, instead of having to install a full server on my desktop. The box is sitting just across the room, why not. This allows me to use all my normal development tools, without the hassle of manually transferring the files every time a change is made.

While this may not be suitable for a staging box where multiple people are working on it, for my little network it makes things easier (the web folder is also a subversion working copy — but this is only a development server remember)

It’s also simple to set up, requiring no configuration on the server. Following the general gist (I already had much of it set up) of the instructions found on a fellow Ubuntu users blog I can now mount remote directories by using:

sshfs server:/my/remote/directory/ /my/local/mountpoint

If only this was available for Windows, I’d never have to work on my local machine again (WinSCP does a pretty good job, but it’s not quiet as seamless)

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

ruldrurd
Powered by WordPress, Web Design by Laurentiu Piron Monitored by SiteUpTime
Entries (RSS) and Comments (RSS)