I am trying to setup automount of SSH endpoints using automount
and sshfs
on macOS Catalina. However, it is not working and I am not sure why.
/etc/auto_master
+auto_master # Use directory service
#/net -hosts -nobrowse,hidefromfinder,nosuid
/home auto_home -nobrowse,hidefromfinder
/Network/Servers -fstab
/- -static
# custom; auto-mount wolverine (parker lab setup)
/- auto_wolverine -nosuid
/etc/auto_wolverine
/System/Volumes/Data/wolverine/home -fstype=sshfs,reconnect,nodev,follow_symlinks,allow_other,StrictHostKeyChecking=no,IdentityFile=IDFILE,port=PORT,ServerAliveInterval=360,ServerAliveCountMax=3 USER@HOST:/home
/etc/sythetic.conf
wolverine /System/Volumes/Data/wolverine
I also symlinked the sshfs
binary to /usr/local/bin/mount_sshfs
as per one of the tutorials I saw.
However, when I try to open the target directory (after refreshing the mount), it says No such file or directory
. Any help would be appreciated.