� links for 2007-04-27 | Main | Rich media delivery �

April 30, 2007

sshfs / FUSE and gmailfs

Well, I recently setup FUSE and the sshfs. If you're unfamiliar. FUSE is a unique userspace filesystem which provides some interesting flexibility through the goodness of Open SSH.

Of course, you'll need to install FUSE and sshfs on your system to utilize these powerful tools.

I have always used SSH to access remote shell accounts and also to tunnel VNC traffic. Once you've setup secure key pairs, you'll not need to provide a username and password.
Hence, it then becomes trivial to run a script to automate a repetitive tasks.

sshfs allows you to securely mount a remote filesystem to your local machine. Essentially, you are able to mount the remote filesystem on your local box. You can then read/write to it quite effortlessly.
You simply setup a mount point for that remote filesystem, and run:

sshfs username@remotehost:/home/username /local mountpoint/
If you need to run special options 'sshfs -h' will provide you with the appropriate syntax.

Though I know I'm quite late, I finally decided to do something with all of the unused space on my gmail account. It seems that people have written python scripts to interact with gmail over the wire. Now that you've setup FUSE, you can make use of all of that extra filespace. Not sure if you can serve up data on gmailfs, as it could be frowned upon. Well, I suppose you won't know until you try :)

Posted by AG at April 30, 2007 4:16 AM