Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After following instructions on, I am able to mount directory via sshfs as root, however, autofs doesn't work for me.

My auto.master contains

/media/sshfs /etc/auto.sshfs        uid=1000,gid=1000,--timeout=30 --ghost

and auto.sshfs has

remote1     -fstype=fuse,rw,nodev,nonempty,noatime,allow_other,max_read=65536 :sshfs\#me@host\:

ls /media/sshfs/remote1 gives "No such file or directory". Any hints on what might be going wrong?

share|improve this question

Pay special attention to the manual page you referenced regarding 'copy your private key to /root/.ssh/" -- I received the same "no such file or directory" error until I added the private key. Once the key was added to /root/.ssh, my automount worked perfectly.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.