Re: [Wlug] sshfs + certificate files + fstab?
Sure, http://goonathon.net/misc/x.mount I keep in it ~/bin/ . I mount everything under ~/ssh/ (sshfs) or ~/ftp/ (curlftpfs). Usage: $ x.mount $ x.mount ~/ssh/bluebutton.com To unmount, $ fusermount -u /home/guinan/ssh/bluebutton.com but I usually mount as-needed and forget about it. -Jamie On Fri, 21 Sep 2007, Eric Stein wrote:
Could I get a look at that script?
Eric
Jamie Guinan wrote:
What userid is invoking sshfs? If its in /etc/fstab, and you're using a setuid /bin/mount, it might be looking for authorized_keys under the setuid id's homedir (root?).
In which case, you might also want to add "-o allow_other", and double-check the other sshfs options.
Since I'm the only user of my sytsem, I use a little script, do it all under my userid, and avoid /etc/fstab.
-Jamie
On Fri, 21 Sep 2007, Eric Stein wrote:
I already do this for normal ssh and it doesn't work for sshfs - I get queried for my password anyway.
Eric
Mike Leo wrote:
Create an ssh key on the local machine and put the public portion of it into the remote servers /home/user/.ssh/authorized_keys file then you can ssh(fs) without a password
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
participants (1)
-
Jamie Guinan