Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] sshfs in fstab not working
- Date: Sat, 31 Oct 2009 18:41:48 +0100
- From: Christian Horn <chorn@example.com>
- Subject: Re: [tlug] sshfs in fstab not working
- References: <4AEC0421.9090406@example.com>
- User-agent: Mutt/1.5.18 (2008-05-17)
Hi, On Sat, Oct 31, 2009 at 06:32:17PM +0900, Dave M G wrote: > > I can successfully use sshfs to mount the directory I want if I type it > into the command line: > sshfs media@example.com:/home/media /home/dave/Mythbuntu As a local user, not root i guess? Probably not having to type in the password on the remote host but using private/public keyfiles? > However, what I've got in fstab doesn't seem to work. > > sshfs#media@example.com:/home/media /home/dave/Mythbuntu fuse > comment=sshfs,noauto,users,exec,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks,BatchMode=yes > 0 0 You have 'noauto' in there so the system wont try to mount this when 'mount -a' is executed like on systems start for example. This fstab-entry could be tested executing this as your user: mount /home/dave/Mythbuntu A similiar line works here, same options, just different host and pathnames. This wont work to get the mount at systemboot directly because that line is then executed as root - and root doesnt know about your ssh-keyfile. If you want this working a configchange has to make the ssh-keyfile getting used. Christian
- Follow-Ups:
- Re: [tlug] sshfs in fstab not working
- From: Dave M G
Home | Main Index | Thread Index
- Next by Date: Re: [tlug] Permissions on local Apache web testing environment
- Next by thread: Re: [tlug] sshfs in fstab not working
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links