Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vsftpd [2018/05/16 16:18]
midas_zhou [5.其他]
vsftpd [2019/03/10 22:27] (current)
Line 6: Line 6:
 ====2.配置/​etc/​vsftpd.conf文件==== ====2.配置/​etc/​vsftpd.conf文件====
 这里给出一个仅允许本机用户登陆的典型配置:​ 这里给出一个仅允许本机用户登陆的典型配置:​
-### refer to: https://​help.ubuntu.com/​community/​vsftpd +   ### refer to: https://​help.ubuntu.com/​community/​vsftpd 
-listen=YES +   ​listen=YES 
-anonymous_enable=NO +   ​anonymous_enable=NO 
-### local enable and root set MUST be in right order +   ​### local enable and root set MUST be in right order 
-local_enable=YES +   ​local_enable=YES 
-local_root=/​tf/​music +   ​local_root=/​tf/​music 
-write_enable=YES +   ​write_enable=YES 
-local_umask=022 +   ​local_umask=022 
-check_shell=NO +   ​check_shell=NO 
-dirmessage_enable=YES +   ​dirmessage_enable=YES 
-ftpd_banner=Widora-NEO +   ​ftpd_banner=Widora-NEO 
-session_support=NO +   ​session_support=NO 
-syslog_enable=YES +   ​syslog_enable=YES 
-### if you need TLS/SSL options, configure vsftpd accordingly before compiling. +   ​### if you need TLS/SSL options, configure vsftpd accordingly before compiling. 
-### set max_per_ip big enough as some clients will need. +   ​### set max_per_ip big enough as some clients will need. 
-max_clients=200 +   ​max_clients=200 
-max_per_ip=20 +   ​max_per_ip=20 
-accept_timeout=60+   ​accept_timeout=60
  
 ====3.配置/​etc/​firewall开放ftp端口==== ====3.配置/​etc/​firewall开放ftp端口====
  • Last modified: 3 months ago
  • (external edit)