标签: sshfs

适用于 Windows 的 dokan sshfs

在这里阅读了一篇关于 windows 的 dokan sshfs的文章。我想问你是否知道类似的软件(免费或不免费)以便从 Windows 访问 Windows 分区。Samba 总是一个答案,但我正在寻找更安全的东西。

sshfs dokan

5
推荐指数
1
解决办法
1万
查看次数

dokan sshfs有多稳定?

人们在Windows 7(64位)上报告了BSOD http://dokan-dev.net/en/2009/04/06/the-next-release-of-dokan-library/.由于某些我不知道的原因,我的winxp sp3(32位)资源管理器变得不稳定,如果我通过doken SSHFS驱动器进行大量浏览,会在时间冻结.你最近遇到过sshfs doken驱动问题吗?只是想得到你对其稳定性的看法?

windows driver sshfs dokan

5
推荐指数
1
解决办法
3675
查看次数

通过中间计算机挂载远程文件系统(sshfs)

情况:

  • 我在machine1工作,我有root访问权限.从machine1我可以通过ssh 访问machine2(我是没有权限的用户).
  • 无法从machine1直接访问machine3(也没有权限的用户).我需要使用machine2的ssh连接来访问machine3.
  • 简而言之:machine1可以ssh到machine2但不能进入machine3.machine2可以ssh到machine3.

我想做的事:

  • 我想使用sshfs在machine1上安装位于machine3上的本地(自己)目录.

并发症:

  • sshfs在machine2上不可用.

如何才能做到这一点?

linux filesystems ssh sshfs remote-file-inclusion

5
推荐指数
1
解决办法
921
查看次数

sshfs - 未找到设备

使用apt-get update && apt-get upgrade此命令更新服务器后返回错误

操作系统

Debian 3.2.60-1+deb7u3 x86_64 (wheezy)
Run Code Online (Sandbox Code Playgroud)

命令

echo "the-password" | sshfs root@domain.com:/var/www /remote_mount -o password_stdin
Run Code Online (Sandbox Code Playgroud)

错误

fuse: device not found, try 'modprobe fuse' first
Run Code Online (Sandbox Code Playgroud)

更新

root@dyntest-amd-3700-2gb ~ # modprobe fuse
modprobe: ERROR: could not insert 'fuse': Unknown symbol in module, or unknown parameter (see dmesg)
Run Code Online (Sandbox Code Playgroud)

.

root@dyntest-amd-3700-2gb ~ # dmesg | grep fuse
[   20.126156] fuse: Unknown symbol nosteal_pipe_buf_ops (err 0)
[1607702.343086] fuse: Unknown symbol nosteal_pipe_buf_ops (err 0)
[1607745.824310] fuse: Unknown symbol nosteal_pipe_buf_ops (err …
Run Code Online (Sandbox Code Playgroud)

linux ssh debian sshfs

5
推荐指数
1
解决办法
2万
查看次数

如何在我的Mac上使用sshfs挂载远程驱动器(BeagleBone)?

为什么我不能使用我的mac中的sshfs连接到我的BeagleBone?我可以ssh到这个IP地址就好了.我需要以某种方式创建一个特殊的挂载点吗?套接字没有连接是什么意思?

sudo sshfs root@192.168.7.1: /Volumes/
remote host has disconnected
mount_osxfusefs: failed to mount /Volumes@/dev/osxfuse0: Socket is not connected
Run Code Online (Sandbox Code Playgroud)

仅供参考我安装了sshfs brew cask sshfs

macos ssh fuse sshfs

5
推荐指数
1
解决办法
3593
查看次数

mac sierra 上的 osxfuse 和 sshfs。错误 - mount_osxfuse: 文件系统不可用 (255)

所以这似乎已经在 stackoverflow 上讨论过,但它仍然没有解决我的问题,因此这里是问题:

1. Logged into mac NOT as a root user. But I do have administrative privileges. 2. Installed Fuse for macos (3.7.1) (https://osxfuse.github.io/) 3. Rebooted mac. 4. Installed sshfs (2.5.0) (https://osxfuse.github.io/) 5. sudo mkdir ~/mount (Location I want to mount the linux volume) 6. sudo sshfs myuser@myserver:/folderToMount ~/mount 7. Also tried: sudo sshfs -o IdentityFile=~/.ssh/id_rsa myuser@myserver:/folderToMount ~/mount -o auto_cache,reconnect,defer_permissions

我收到以下错误:

mount_osxfuse: the file system is not available (255)

任何帮助,将不胜感激。

谢谢。

macos sshfs osxfuse

5
推荐指数
0
解决办法
3091
查看次数

docker vieux/sshfs 权限被拒绝

  1. 我使用 vieux/sshfs 创建卷
docker 插件安装 --grant-all-permissions vieux/sshfs
docker 卷创建 -d vieux/sshfs -o sshcmd=usfo@192.168.1.1:/swarm-study/web/data -o 密码='123' sshvolume


  1. 我在容器 :usfo Dockerfile上创建一个用户:
来自 debian
复制sources.list /etc/apt/sources.list
运行 apt-get update
运行 apt-get install -y apache2
运行 apt-get install -y php7.0 php7.0-mysql
复制 apache2.conf /etc/apache2/apache2.conf

运行 groupadd -g 1000 usfo
运行 useradd -u 1000 -g 1000 usfo

复制index.php /var/www/html/index.php
RUN mkdir /自动运行
复制 autorun.sh /autorun/autorun.sh
运行 chmod 755 /autorun/autorun.sh
运行 mkdir /html-data
命令./autorun/autorun.sh
  1. 并使用usfo用户运行apache

    apache2.conf:
用户usfo
乌斯福集团
  1. 使用此命令运行容器
docker run -itd -p 80:80 --mount type=volume,source=sshvolume,destination=/swarm-data …

sshfs docker

5
推荐指数
1
解决办法
3021
查看次数

在 macOS catalina 上使用 sshfs 自动挂载

我正在尝试使用macOS Catalinaautomountsshfs在 macOS Catalina 上设置 SSH 端点的自动挂载。但是,它不起作用,我不确定为什么。

  1. /etc/auto_master
+auto_master        # Use directory service
#/net           -hosts      -nobrowse,hidefromfinder,nosuid
/home           auto_home   -nobrowse,hidefromfinder
/Network/Servers    -fstab
/-          -static
# custom; auto-mount wolverine (parker lab setup)
/-  auto_wolverine  -nosuid
Run Code Online (Sandbox Code Playgroud)
  1. /etc/auto_wolverine
/System/Volumes/Data/wolverine/home -fstype=sshfs,reconnect,nodev,follow_symlinks,allow_other,StrictHostKeyChecking=no,IdentityFile=IDFILE,port=PORT,ServerAliveInterval=360,ServerAliveCountMax=3 USER@HOST:/home
Run Code Online (Sandbox Code Playgroud)
  1. /etc/sythetic.conf

wolverine /System/Volumes/Data/wolverine

我还按照我看到的教程之一将sshfs二进制文件符号链接到/usr/local/bin/mount_sshfs了。但是,当我尝试打开目标目录(刷新安装后)时,它显示No such file or directory. 任何帮助,将不胜感激。

macos sshfs automount macos-catalina

5
推荐指数
1
解决办法
2264
查看次数

Docker 使用 sshfs 挂载远程卷

我知道这个问题已经在网上完成了,但是我找不到适合我的解决方案。

我安装了一台服务器 (VM1),sshfs它应该提供远程文件系统存储。我有另一个运行容器的服务器 (VM2),我希望这些容器使用托管在 VM1 中的卷。

我遵循了这个官方 docker指南 所以在 VM1 中我跑了:

docker plugin install vieux/sshfs DEBUG=1 sshkey.source=/home/debian/.ssh/
Run Code Online (Sandbox Code Playgroud)

在 VM 2 中,我跑了:

docker volume create --name remotevolume -d vieux/sshfs -o sshcmd=debian@vm1:/home/debian/sshfs300 -o IdentityFile=/home/csicari/data/Mega/lavoro/keys/vm-csicari.key -o -o allow_other  -o nonempty
Run Code Online (Sandbox Code Playgroud)

这是检查输出:

[
  {
   "CreatedAt": "0001-01-01T00:00:00Z",
   "Driver": "vieux/sshfs:latest",
   "Labels": {},
   "Mountpoint": "/mnt/volumes/895d7f7679f69131500c786d7fe5fdc1",
   "Name": "remotevolume",
   "Options": {
             "IdentityFile": "/home/csicari/data/Mega/lavoro/keys/vm-csicari.key",
             "sshcmd": "debian@vm1:/home/debian/sshfs300"
  },
  "Scope": "local"
  }
]
Run Code Online (Sandbox Code Playgroud)

在VM1中,我也跑了:

docker run -it -v remotevolume:/home -d ubuntu
Run Code Online (Sandbox Code Playgroud)

但我收到了这个错误:

docker: Error response from daemon: VolumeDriver.Mount: sshfs …
Run Code Online (Sandbox Code Playgroud)

sshfs docker

5
推荐指数
1
解决办法
1686
查看次数

写入/dev/ptmx是什么意思

我正在阅读 sshfs 的源代码。我发现当尝试向 ssh 提供密码时,它会将密码写入 /dev/ptmx。

write(sshfs.ptyfd, sshfs.password, strlen(sshfs.password));
Run Code Online (Sandbox Code Playgroud)

我知道它是伪终端的主端,但我不太明白写入它的含义。我尝试向 /dev/ptmx 回显某些内容,但什么也没发生。也许我还没有完全理解pts和ptmx的机制。

c ssh terminal sshfs

5
推荐指数
1
解决办法
3164
查看次数