centos vsftpd

使用命令生成密钥:

openssl req -x509 -days 365 -newkey rsa:2048 -nodes -keyout /etc/vsftpd/vsftpd.pem -out /etc/vsftpd/vsftpd.pem
ssl_enable=YES
# 强迫客户机在登录时使用TLS
allow_anon_ssl=NO
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_ciphers=HIGH
rsa_cert_file=/etc/vsftpd/vsftpd.pem
启动Vsftpd服务其命令为: service vsftpd start 或 /etc/init.d/vsftpd start

停止Vsftpd服务的命令为:service vsftpd stop 或 /etc/init.d/vsftpd stop

重新启动Vsftpd服务的命令为:service vsftpd restart 或 /etc/init.d/vsftpd restart

检查Vsftpd服务的运行状态:service vsftpd status

http://www.mamicode.com/info-detail-1732664.html

CentOS7上搭建FTP服务+VSFTPD配置全解析

原文地址:https://www.cnblogs.com/yang-C-J/p/8594833.html