Lee Marzke on 9 Jan 2011 15:47:18 -0800 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] sshfs mounts on laptop |
On 01/09/2011 04:40 PM, brent timothy saner wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/09/11 15:11, Lee Marzke wrote:Does anyone have recommendations / scripts for mounting sshfs filesystems that I want always mounted at login to my laptop. I would prefer to not have to type another password ( I have full disk encryption, and so already enter 2 passwords ) I guess this might need a option / or timeout if I'm traveling and don't have the VPN up. Leeset up pubkey auth. no password needed and more secure than password auth. if you're looking for an actual script to run on login, let me know and i can type up a quick one for you and tell you how to get it to run on login.
Eventually I'll have a half dozen or so mounts. What I've got so far to attach to my Thecus N8800 NAS box as the user 'sys' Add to /etc/fstab ( raid0 is the 1st raid5 array, stupid name !)sshfs#sys@nasbox:/raid0/data/software /home/lmarzke/n8800_software fuse noauto,user,idmap=user 0 0
Note the idmap=user remaps uid/gid on the nas to my user/gid since many of this files were written by the NAS.
I added ssh keys ( Thecus makes this difficult as ssh isn't supported out of the box )
So I just need to run 'mount ~/n8800_software'Anyone have comments on this so far ? I'll have to see what happens if I run this
remotely before automating it fully. Lee
begin:vcard fn:Lee Marzke n:Marzke;Lee org:4AERO adr:;;;Collegeville;PA;19426;US email;internet:lee@marzke.net title:Consultant tel;work:800 393 5217 tel;fax:+1 484 348-2230 tel;cell:+1 484 961-0369 x-mozilla-html:TRUE url:http://4aero.com version:2.1 end:vcard
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug