我在这里阅读了一篇关于 windows 的 dokan sshfs的文章。我想问你是否知道类似的软件(免费或不免费)以便从 Windows 访问 Windows 分区。Samba 总是一个答案,但我正在寻找更安全的东西。
人们在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驱动问题吗?只是想得到你对其稳定性的看法?
情况:
我想做的事:
并发症:
如何才能做到这一点?
使用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) 为什么我不能使用我的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
所以这似乎已经在 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)
任何帮助,将不胜感激。
谢谢。
docker 插件安装 --grant-all-permissions vieux/sshfs docker 卷创建 -d vieux/sshfs -o sshcmd=usfo@192.168.1.1:/swarm-study/web/data -o 密码='123' sshvolume
来自 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
用户usfo 乌斯福集团
docker run -itd -p 80:80 --mount type=volume,source=sshvolume,destination=/swarm-data …
我正在尝试使用macOS Catalinaautomount和sshfs在 macOS Catalina 上设置 SSH 端点的自动挂载。但是,它不起作用,我不确定为什么。
/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)
/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)
/etc/sythetic.confwolverine /System/Volumes/Data/wolverine
我还按照我看到的教程之一将sshfs二进制文件符号链接到/usr/local/bin/mount_sshfs了。但是,当我尝试打开目标目录(刷新安装后)时,它显示No such file or directory. 任何帮助,将不胜感激。
我知道这个问题已经在网上完成了,但是我找不到适合我的解决方案。
我安装了一台服务器 (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 的源代码。我发现当尝试向 ssh 提供密码时,它会将密码写入 /dev/ptmx。
write(sshfs.ptyfd, sshfs.password, strlen(sshfs.password));
Run Code Online (Sandbox Code Playgroud)
我知道它是伪终端的主端,但我不太明白写入它的含义。我尝试向 /dev/ptmx 回显某些内容,但什么也没发生。也许我还没有完全理解pts和ptmx的机制。