我正在尝试使用sshfs挂载远程文件系统。我可以在网上找到的所有指南都说我需要加入fuse组,但是当我运行时
sudo gpasswd -a $USER fuse
我得到了
gpasswd:组'fuse‘在/etc/group中不存在
然而,当我跑步时:
sudo apt-get install fuse
我得到了
fuse已经是最新版本了。
我使用一个相对较新的Ubuntu15.10安装在64位上。
谢谢你的帮助
发布于 2016-03-26 05:34:36
根据我的实验,显式创建fuse
组并将用户添加到其中是挂载ssh
文件系统所需的而不是。
总之,下面是从此页复制的步骤
sshfs
$ sudo apt-get install sshfs
[sudo] password for johndoe:
Reading package lists... Done
[...]
Setting up sshfs (2.5-1ubuntu1) ...
$ mkdir /home/johndoe/sshfs-path/
/remote/path
安装到/home/johndoe/sshfs-path/
$ sshfs remoteuser@111.222.333.444:/remote/path /home/johndoe/sshfs-path/
$ fusermount -u /home/johndoe/sshfs-path/
https://stackoverflow.com/questions/35635631
复制相似问题