Answer the question
In order to leave comments, you need to log in
Automount sshfs on startup via fstab?
Good day!
Set up ssh access to the server (debian 8) via RSA (no password). Mounting a directory via sshfs also works without a password. I wrote the line in fstab:
[email protected]:/home/user/tmp/manuals/ /media/data/manuals/ fuse.sshfs x-systemd.automount,allow_other,reconnect 0 2
- does not mount at startup. To be more precise, then:$ ls -la /media/data/manuals/
ls: невозможно получить доступ к /media/data/manuals/: Нет такого устройства
$ dmesg | grep -i manuals
systemd-fstab-generator[130]: Checking was requested for "[email protected]:/home/speed/tmp/manuals/", but it is not a device.
$ mount | grep -i manuals
systemd-1 on /media/data/manuals type autofs (rw,relatime,fd=34,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question