Vsftpd配置并限制用户SSH登录
一、vsftpd.conf配置
anonymous_enable=NO
local_enable=YES
write_enable=NO
pam_service_name=vsftpd #关键点,实现本地用户登录
local_umask=022
anon_upload_enable=NO
anon_mkdir_write_enable=NO
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
idle_session_timeout=300
da
?
?
转载:
http://gaogaochao1.blog.163.com/blog/static/79810971200963035948314/