История изменений
Исправление Difrex, (текущая версия) :
fstab
user@hostname:/mnt/media /mnt/media fuse.sshfs noauto,comment=systemd.automount,user,idmap=user,Port=22,IdentityFile=/etc/hostname_rsa,allow_other 0 0
mnt-media.automount
[Unit]
Description=Automount /mnt/media sshfs
[Automount]
Where=/mnt/media
DirectoryMode=0775
mnt-media.mount
[Unit]
Description=Mount file for /mnt/media sshfs mount
[Mount]
What=user@hostname:/mnt/media
Where=/mnt/media
Type=fuse.sshfs
Options=noauto,user,idmap=user,allow_other,Port=22,IdentityFile=/etc/hostname_rsa
Что-то типа того
Исходная версия Difrex, :
fstab
user@hostname:/mnt/media /mnt/media fuse.sshfs noauto,comment=systemd.automount,user,idmap=user,Port=22,IdentityFile=/etc/hostname_rsa,allow_other 0 0
mnt-media.automount
[Unit]
Description=Automount /mnt/media sshfs
[Automount]
Where=/mnt/media
DirectoryMode=0775
mnt-media.mount
[Unit]
Description=Mount file for /mnt/media sshfs mount
[Mount]
What=user@hostname:/mnt/media
Where=/mnt/media
Type=fuse.sshfs
Options=noauto,user,idmap=user,allow_other,Port=5000,IdentityFile=/etc/hostname_rsa
Что-то типа того