The easy way to unmount sshfs goes as follows sudo umount -l directory Use -l “lazy” which is required for unmounting sshfs -l, --lazy detach the filesystem now, clean up things later