I’ve been using SSHFS via the FUSE device for a little while now, and it’s cool. It correctly preserves the permissions of files because you have to login as a user on the remote machine to actually mount the filesystem! Just like SFTP or actually SSH’ing into the remote machine and creating the file manually.

SSHFS is cool though because it’s totally transperant, like NFS. Well. Almost. The things is, I have to keep mounting it when I boot using a shell script I wrote…then I enter my password, and it works. Well I’m shifting away from NFS because it

(a) Fails on permissions half the time
(b) Requires the NFS server to be enabled on the client, which sometimes causes problems.

Now NFS is not really portable to Windows anyway, so I’m not going to lose anything there by disabling it. What I will lose is the ability to plug any Linux machine into my network and access my NFS shares. Oh well, it’s insecure anyway.

So I want to autmount my SSHFS shares. The ones that used to be NFS. I used the mount script for fuse from John Hunt’s Blog, and tried to follow his instructions but…well they didn’t work so well. So I used his mount script, and the instructions for actually setting /etc/fstab up from the BTreeHugger’s Blog. The BTreeHugger instructions were really cool, because it’s passwordless and it works in Ubuntu. Plus, I’ve never used pregenerated keys before so that was fun :)

Written on May 15th, 2007 , Uncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

SirSpanky.com – The Secret Diary of James Pearce Aged 20-Something is proudly powered by WordPress and the Theme Adventure by Eric Schwarz
Entries (RSS) and Comments (RSS).

SirSpanky.com – The Secret Diary of James Pearce Aged 20-Something

Personal jorunal of a professional geek – James Pearce in Perth, Australia