Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
Linux和Windows共享文件新方法
Experiences and Insight
1060
views ·
5
replies ·
To
floor
Go
zhangn1985
deepin
2020-10-13 20:38
Author
传统上,大多数人都会使用samba来共享文件,有一些人也会用nfs来共享。
samba来共享呢,如果是windows做服务器,基本也只要配置权限就可以了,而linux这边做服务器则需要一些配置,可能有些人还搞不来。
nfs一般是Linux做服务器,虽然配置简单,但windows客户端就比较难搞,需要windows专业版,还要改注册表,挺麻烦的。
所以这里介绍一种新的共享方式
Linux作为服务端,Windows作为客户端
Linux:只需要安装openssh-server,无需配置
windows:
https://github.com/billziss-gh/sshfs-win
和
https://github.com/billziss-gh/winfsp/releases/
,无需配置
连接:
Reply
Like 0
Favorite
View the author
All Replies
zhangn1985
deepin
2020-10-13 20:40
#1
Reply
Like 0
View the author
zhangn1985
deepin
2020-10-13 20:43
#2
路径可选下面模式:
1,
\\sshfs\[LOCUSER=]REMUSER@HOST[!PORT][\PATH]
PATH为下的相对路径,比如要链接~/abc
PATH就为\abc
2,
\\sshfs.r\[LOCUSER=]REMUSER@HOST[!PORT][\PATH]
PATH为根目录下的绝对路径
比如要链接/mnt,那么
PATH为\mnt
3,
\\sshfs.k\[LOCUSER=]REMUSER@HOST[!PORT][\PATH]
4,
\\sshfs.kr\[LOCUSER=]REMUSER@HOST[!PORT][\PATH]
Reply
Like 0
View the author
jingle
deepin
2020-10-13 20:48
#3
感谢分享
https://bbs.deepin.org/user/241653
Reply
Like 0
View the author
139******14
deepin
2020-10-13 22:11
#4
虚拟机下windows客户端连接挺好,就是速度超级慢,实体机没试过
Reply
Like 0
View the author
zxx889
deepin
2021-11-19 00:15
#5
如果能加上图片说明就更好,小白在摸索
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
simple
Popular Events
More
samba来共享呢,如果是windows做服务器,基本也只要配置权限就可以了,而linux这边做服务器则需要一些配置,可能有些人还搞不来。
nfs一般是Linux做服务器,虽然配置简单,但windows客户端就比较难搞,需要windows专业版,还要改注册表,挺麻烦的。
所以这里介绍一种新的共享方式
Linux作为服务端,Windows作为客户端
Linux:只需要安装openssh-server,无需配置
windows: https://github.com/billziss-gh/sshfs-win 和 https://github.com/billziss-gh/winfsp/releases/,无需配置
连接: