1

我正在使用 Mac OS 特立独行。我试图按照中提到的说明进行操作

https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh

然而,在这样做之后

sudo sshfs root@xxx.xxx.xxx.xxx:/ ~/mnt/droplet

我无法访问文件夹 droplet。它从取景器中消失了。

有谁知道为什么?

4

1 回答 1

4

我在雪豹上有同样的问题。这是一个 MacFUSE 问题。您需要添加一个额外的选项来告诉 MacFUSE 允许外部程序处理它。您还需要告诉它推迟权限检查。

这对我有用:

sudo sshfs me@my.remote.server.edu:/ /Users/ME/MyMOUNT -o allow_other,defer_permissions

更多关于 macfuse 选项的信息:

http://jann.is/daily/archives/757-ExtraAdvanced-options-for-MacFuseMacFusion.html

在这里: https ://code.google.com/p/macfuse/wiki/OPTIONS

另一个用户有同样的问题(解决方式略有不同): https ://superuser.com/questions/772405/why-does-directory-vanish-when-i-do-sshfs-how-to-setup- sshfs-share-on-max-osx-1

于 2014-11-04T03:46:47.600 回答