Linux学习|Gentoo/Arch/FreeBSDLinuxLinux学习之路

Google Cloud 搭建ftp服务

2019-12-09  本文已影响0人  干土

开放防火墙:

21端口

流程如下:

Centos7安装搭建FTP服务器(最简便方法)

PASV被动模式

https://blog.csdn.net/phpLara/article/details/84435135

#设置以下参数,配置FTP支持被动模式。并指定FTP服务器的公网IP地址,以及可供访问的端口范围,端口范围请根据实际环境进行设置。

listen=YES 

 listen_ipv6=NO 

 pasv_address=xx.xx.xx.xx#FTP服务器的公网IP地址 

 pasv_min_port=3000#被动模式下的最小端口

pasv_max_port=3100#被动模式下的最大端口

修改协议(ftp)错误如下:

Status: Insecure server, it does not support FTP over TLS.

ftp ==> sftp

SFTP Connection Error Received unexpected end-of-file from SFTP server

https://www.digitalocean.com/community/questions/sftp-connection-error-received-unexpected-end-of-file-from-sftp-server

Linux ftp访问控制配置,包括访问ftp权限和访问ftp目录权限

https://www.cnblogs.com/zjhblogs/p/5919584.html

https://blog.csdn.net/lihuang319/article/details/50825208

上一篇 下一篇

猜你喜欢

热点阅读