A more modern approach without a kernel extension providing FUSE on macOS is:
FUSE-T
They also distribute an adapted version of SSHFS, that works with FUSE-T.
There is no recent version of SSHFS for Macs available. The versions I found are:
(latest version on Linux is 3.7.3 from 2022 using libfuse3)
So either use closed source macFUSE with tormodwill's macSSHFS or FUSE-T.
Installation
macFUSE, tormodwill's macSSHFS, FUSE-T and FUSE-T's sshfs are all .pkg files, that can be ctrl-click-opened for installation. Either chose macFUSE with tormodwill's macSSHFS or FUSE-T with its SSHFS.
Uninstallation
To uninstall macFUSE open the System Preferences of macOS, go to the macFUSE preference pane and click on "Remove macFUSE".
To uninstall macFUSE's sshfs:
sudo rm /usr/local/bin/sshfs
sudo rm /usr/local/share/man/man1/sshfs.1
sudo pkgutil --forget com.github.osxfuse.pkg.SSHFS
To uninstall tormodwill's macSSHFS do the following:
sudo rm /usr/local/bin/sshfs
sudo rm /usr/local/share/man/man1/sshfs.1
sudo pkgutil --forget com.TWILL.pkg.macSSHFS
To uninstall FUSE-T do:
sudo "/Library/Application Support/fuse-t/uninstall.sh"
To uninstall FUSE-T-SSHFS do:
sudo rm /usr/local/bin/sshfs
sudo rm /usr/local/share/man/man1/sshfs.1
sudo pkgutil --forget "$(pkgutil --pkgs | grep "^org\.sshfs\.")"
There is a simple menubar GUI application for mounting and unmounting SSHFS connections (of which I am the author):
SSHFS-Mountlet
The above installation and uninstalltion hints are taken from SSHFS-Mountlet's README.