SSHFS挂载远程ssh服务器导致mac OS上的Segmentation fault:11

问题描述 投票:1回答:2

我正在尝试跟随this tutorial在macOS上安装SSH服务器。我安装了

brew install cask osxfuse

和SSHFS一起使用

brew install sshfs

但是当我尝试将远程文件夹安装到本地文件夹时

sshfs foo@bar:/remote/folder ~/local/folder

我收到错误:

分段错误:11

我的操作系统是

macOS High Sierra 10.13.6(17G65)

如果你能帮助我知道问题是什么以及我如何解决它,我将不胜感激。

macos fuse sshfs
2个回答
0
投票

好吧,我不知道问题是什么,但是我试过here

sudo sshfs -o allow_other,defer_permissions foo@bar:/remote/folder ~/local/folder -p 22

然后folder消失了,一个名为OSXFUSE Volume 0(sshfs)的新驱动器出现了:

enter image description here

虽然它仍然非常不稳定并经常断开连接。


0
投票

刚碰到这个,我最终的原因是冒号和目录开头之间缺少空格。

sshfs foo@bar: /remote/folder ~/local/folder
© www.soinside.com 2019 - 2024. All rights reserved.