记一次linux下安装ftp的愉快体验
三三两两,试了几次就出来了,挺开心的
linux安装vsftpd,请自行百度
贴出部分配置点
- 阿里云服务器,开发相关端口以及部分区域端口访问
- /etc/pad.d/vsftpd添加部分注释
#%PAM-1.0 session optional pam_keyinit.so force revoke #auth required pam_listfile.so item=user sense=deny file=/etc/vsftpd/ftpusers onerr=succeed #auth required pam_shells.so auth include password-auth account include password-auth session required pam_loginuid.so session include password-auth
- /etc/vsftpd/vsftpd.conf配置参考
anonymous_enable=NO local_enable=YES write_enable=YES local_umask=022 dirmessage_enable=YES xferlog_enable=YES connect_from_port_20=YES xferlog_std_format=YES chroot_local_user=YES allow_writeable_chroot=YES listen=NO listen_ipv6=YES pam_service_name=vsftpd userlist_enable=YES userlist_deny=NO userlist_file=/etc/vsftpd/allowed_users tcp_wrappers=YES check_shell=NO ftpd_banner=hi,guys! seccomp_sandbox=NO listen_port=21 ftp_data_port=2020
- ftp 端口号查看 /etc/services
- 温馨提示:allowed_users文件中的用户可以正常登陆;可以尝试使用cuteftp或者flashftp客户端连接工具
相关推荐
diediexiaomi 2020-08-11
杨立峰 2020-08-18
wq0 2020-07-18
leodengzx 2020-06-14
xsg 2020-06-09
TangCuYu 2020-06-05
河的第三条岸 2020-05-31
atb 2020-05-30
饮马天涯 2020-05-20
wennuanwarm 2020-05-16
InJavaWeTrust 2020-05-04
书弋江山 2020-04-26
MichelinMessi 2020-04-16
89236831 2020-02-24
IsanaYashiro 2020-02-19
Proudoffaith 2020-02-04
秋风瑟瑟 2020-02-03
IsanaYashiro 2020-01-23
rareli 2020-01-18