[Tutorials] FTP服务端搭建方法(整理)
Tofloor
poster avatar
PIANO
deepin
2022-04-01 22:17
Author

FTP服务端搭建方法(整理)

1、切换到root账户:su root

2、安装FTP服务端:sudo apt-get install vsftpd

3、创建ftp目录:mkdir /nas/ftp

4、修改权限: chmod -R 777 /nas/ftp

4、创建ftp用户:sudo useradd -d /nas/ftp -s /bin/bash ftp

5、设置用户密码:passwd ftp,输入密码两次

6、配置参数:vim /etc/vsftpd/vsftpd.conf

内容:具体根据实际情况配置参数。

Reply Favorite View the author
All Replies
神末shenmo
deepin
Spark-App
Q&A Team
2022-04-01 22:21
#1

ftp不能加密

推荐sftp

只要配好ssh就自带sftp了,更方便

Reply View the author
PIANO
deepin
2022-04-01 22:25
#2
神末shenmo

ftp不能加密

推荐sftp

只要配好ssh就自带sftp了,更方便

我想搭建FileZilla Server,但是没有成功。望指导!

Reply View the author
liwl
deepin
2022-04-01 23:13
#3

fizezilla server 是不是有官方发的安装包?

同版主,现在ftp明文,使用范围狭窄,建议直接sftp

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2022-04-01 23:59
#4
PIANO

我想搭建FileZilla Server,但是没有成功。望指导!

这个我没试过。。。

sftp就是,只要你能ssh连接过去,就是已经可以sftp了

Reply View the author
PIANO
deepin
2022-04-02 00:48
#5
liwl

fizezilla server 是不是有官方发的安装包?

同版主,现在ftp明文,使用范围狭窄,建议直接sftp

你说的sftp和vsftpd有区别吗?

Reply View the author
liwl
deepin
2022-04-02 00:53
#6
PIANO

你说的sftp和vsftpd有区别吗?

sftp加密的,vsftp是ftp协议,未加密

使用filezilla等客户端时,端口指定22,就是用了sftp协议

Reply View the author
PIANO
deepin
2022-04-02 01:48
#7
liwl

sftp加密的,vsftp是ftp协议,未加密

使用filezilla等客户端时,端口指定22,就是用了sftp协议

又学到啦!👍

Reply View the author
真假
deepin
2022-05-22 04:17
#8

搭完,远程登录出现500 错误登录失败

Reply View the author
dongfang123456
deepin
2023-08-17 15:05
#9

如何配置参数?

image.png

Reply View the author