Mount remote folder on Mac

Mount remote folder:

$sudo sshfs -o allow_other,defer_permissions user@remotehost:/home/huang/foldertomount /mnt/localfolder

Unmount remote folder:

 $ sudo diskutil unmount /mnt/localfolder

If Unmount failed for /mnt/localfolder:

 $ sudo lsof | grep localfolder

and kill the process using localfolder

Leave a Reply

Your email address will not be published. Required fields are marked *