Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
请问 sftp 如何配置?
Experiences and Insight
295
views ·
5
replies ·
To
floor
Go
testpassword
deepin
2019-09-29 03:33
Author
我想在电脑上开启sftp服务,在局域网内给手机共享文件,但是论坛上没找到教程,百度了一圈也没搞定,我好难啊。
我知道自带的sftp命令可以实现,所以就不想装别的软件了,但是不知道这个命令怎么用的,有没有大佬指导一下。
Reply
Like 0
Favorite
View the author
All Replies
Feng Yu
deepin
2019-09-29 04:22
#1
Deepin自带有samba,可以直接共享文件,和Windows兼容
Reply
Like 0
View the author
la******ng@outlook.com
deepin
2019-09-29 04:56
#2
https://youtu.be/w_OwmqjAcn0
這個 YouTuber 真的很棒
Reply
Like 0
View the author
139******14
deepin
2019-10-01 01:41
#3
如果只是给自己用的话,允许22端口远程访问就可以了
Reply
Like 0
View the author
wildlife
deepin
2019-10-02 00:54
#4
1.文件上传
#格式:put [-Ppr] local [remote]
#例如把当前本地用户目录文件test.c上传到远程主机/tmp/目录
put ~/test.c /tmp/
#例如把当前本地用户目录文件test/上传到远程主机/tmp/目录
put -r ~/test/ /tmp/
2.文件下载
#格式:get [-Ppr] remote [local]
#例如从远程主机下载文件/tmp/test.c到当前本地用户目录
get /tmp/test.c ~/
#例如从远程主机下载文件夹/tmp/test/到当前本地用户目录
get -r /tmp/test/ ~/
3.其它命令
sftp远程主机后输入ls、cd、pwd等命令是在远程主机执行,要在本地主机执行要在命令前加l(localhost的意思),对应的应为lls、lcd、lpwd。其它命令可以使用help查看用法。
Reply
Like 0
View the author
testpassword
deepin
2019-10-02 01:14
#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
What is the purpose of UOS AI?
Cannot upgrade "Deepin 25.0.10"
chrome browser
Feature Request: Adding an option for a "Floating Dock" mode in DDE
[Feature Request] Drop-down grid panel for window snap layouts
Popular Events
More
我知道自带的sftp命令可以实现,所以就不想装别的软件了,但是不知道这个命令怎么用的,有没有大佬指导一下。