Linux??FTP??????
???????????? ???????[ 2016/4/14 14:19:26 ] ?????????????? Linux
????????
?????????????????Linux?д?FTP????????????????????????????????????????á?
????????
??????linux??????FTP??vsftp
????FTP????????????????????
????????????????????????????
?????????????????????????????????
??????????????????????????????????????????????linux?д????????
???????FTP
???????YUM???
????yum -y install vsftpd
????????????
??????????????/etc/vsftpd/·?????????????????????
????vsftpd.conf: ?????????
????ftpusers: ?????Щ??????????FTP????????????????????root??????Щ????????
????user_list: ?????????????????ftp???????????vsftpd.conf????е?userlist_deny?????????????????е??????????????userlist_enable=YES ??userlist_deny=YES ??userlist_file=/etc/vsftpd/user_list ??????????????????е????????FTP??
????????????????????????
????cat /etc/vsftpd/vsftpd.conf |grep -v '^#';
????anonymous_enable=YES #???????????
????local_enable=YES #??????????????????
????write_enable=YES #????ftp???д????
????connect_from_port_20=YES #???20??????????
???????????Щ?????????????
ftpd_banner=welcome to ftp service ???????????????????????
idle_session_timeout=60 ???????????????????????????????????????????????κε???????ж?(??)
data_connection_timeout=120 ???????????????????????????????е??????ж????
accept_timeout=60 ??????????????????????
connect_timeout=60 ??????????????????????????????????????;
max_clients=200 ?????????????????????????200
max_per_ip=3 ?????????????????????3
local_max_rate=50000(50kbytes/sec) ???????????????????
anon_max_rate=30000????????????????????
pasv_min_port=???
pasv-max-prot=???? ???????С?????0?????????;????????????????;
listen_address=IP??? ????ftp??????????????????????????????????????;
listen_port=???? ????FTP???????????????21
local_root=path ??????????????????????????????????????? ???????????????????????????????????;
chroot_local_user=yes/no ???????????????????????(????);????????????????????????/home/user;
chroot_list_enable=yes/no ???ò????????????????????
chroot_list_file=/etc/vsftpd/chroot_list????б????
userlist_enable=YES/NO ??????????б????;
userlist_deny=YES ???????????????????????;
userlist_file=/etc/vsftpd/user_list ????б????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11