如何让 sshfs 工作?

如何让 sshfs 工作?

我想挂载通过 ssh 连接的远程文件系统,以便我可以使用编辑器来编辑文件。我sshfs为此安装了。

运行命令:

sudo sshfs [email protected]:/ /mnt/ec2-deep/

给我这个错误:

读取:连接被对等方重置

我尝试通过将我的用户添加到熔断器来消除此错误(这是建议这里)但它告诉我,我的系统中没有名为“fuse”的组。我应该做什么才能sshfs工作?
我的环境是:
操作系统:Ubuntu 16.04

输出aptitude show fuse

Package: fuse                     
State: installed
Automatically installed: no
Version: 2.9.4-1ubuntu3.1
Priority: standard
Section: utils
Maintainer: Ubuntu Developers <[email protected]>
Architecture: amd64
Uncompressed Size: 106 k
Depends: libc6 (>= 2.14), libfuse2 (= 2.9.4-1ubuntu3.1), adduser, mount (>= 2.19.1), sed (>= 4)
Conflicts: fuse:i386
Description: Filesystem in Userspace
 Filesystem in Userspace (FUSE) is a simple interface for userspace programs to export a virtual filesystem to the Linux kernel. It also aims to
 provide a secure method for non privileged users to create and mount their own filesystem implementations.
Homepage: http://fuse.sourceforge.net/

相关内容