Updated: 24 June 2023
Mount directory on remote server over ssh
sshfs user@example.com:/remote/folder/path /local/folder/path \
-o IdentityFile=/full/path/to/private/key/file \
-o allow_other
Unmount directory mounted with sshfs above
fusermount -u PATH