After upgrading to FreeBSD 12.4 to 13.2, sshfs stopped working. sshfs gives the following error when mounted.
# sshfs -o allow_other,default_permissions,uid=1001,gid=1001 XXXX XXXXX fuse: failed to open fuse device: No such file or directory
When I look at kldstat, there is no fuse.ko. I got the following error when trying to load it with kldload.
# kldload fuse.ko kldload: can't load fuse.ko: No such file or directory
It seems that fuse.ko has been gone since 13.x and replaced by fusefs.ko. Anyway, I reinstalled fusefs-sshfs and fusefs-libs, modified /boot/loader.conf and /etc/rc.conf, and rebooted.
pkg -y install fusefs-sshfs fusefs-libs vi /boot/loader.conf --- # added fusefs_load="YES" --- vi /etc/rc.conf --- # added enable_fusefs="YES" ---
ssfs does work.
(It was OK to use “kldload fusefs.ko” without rebooting, but I rebooted to check the operation of the system reboot.)