sshfs 尝试后未配置设备

run*_*aul 5 tunnel user-profile ssh-tunnel macos-sierra

在 Mac 上使用 sshfs 后,我无法再看到我的用户目录。

当我打开终端窗口时,我看到以下内容:

Last login: Mon May 22 10:54:30 on ttys003
mkdir: /Users/<username>/.bash_sessions: Device not configured
-bash: /Users/<username>/.bash_profile: Device not configured
touch: /Users/<username>/.bash_sessions/35166655-583B-47CC-9BCF-5E785DD5E46E.historynew: Device not configured
Run Code Online (Sandbox Code Playgroud)

有没有什么办法解决这一问题?

干杯保罗

drk*_*gel 10

我曾经使用sshfs并收到此错误;我发现无需重新启动即可修复它的唯一方法是:

sudo diskutil umount force /path/to/mount
Run Code Online (Sandbox Code Playgroud)

我最近一直在尝试https://github.com/spion/adbfs-rootless做其他事情,发现我可以陷入同样的​​情况,“修复”也适用于这种情况。

  • 然后你也必须再次运行“sshfs”来重新安装它。为我工作,谢谢。 (2认同)