looks like all the "automount SSHFS" are outdated and not working anymore on today desktops.
If I have a microSD card, that is shared via SFTP on an rpi, how can I auto-mount it on eg.: Ubuntu 20.04 desktops?
Tried with ex.:
sshfs#MYUSER@192.168.8.3:/stuff/ /media/user/stuff/ fuse.sshfs noauto,x-systemd.automount,users,idmap=user,IdentityFile=/home/user/.ssh/id_rsa,allow_other,reconnect,port=22 0 0
but it doesn't work.. what only works so far is:
sshfs#MYUSER@192.168.8.3:/stuff/ /media/user/stuff/ fuse defaults,auto,allow_other,noatime,port=22,IdentityFile=/home/user/.ssh/id_rsa,user 0 0
but this requires me to do a "mount -a".. which is not very automatic :)
The question: as a normal user, how can I mount an SSHFS share only on demand? So if I am in that directory (in eg.: GNOME os in the terminal, ls or cd or "cp from tothatshare") Havin SSH key login with no password.
Many Thanks.