linux下设置ftp及增加SSL服务.doc

linux下设置ftp及增加SSL服务.doc

ID:57631593

大小:45.50 KB

页数:6页

时间:2020-08-29

linux下设置ftp及增加SSL服务.doc_第1页
linux下设置ftp及增加SSL服务.doc_第2页
linux下设置ftp及增加SSL服务.doc_第3页
linux下设置ftp及增加SSL服务.doc_第4页
linux下设置ftp及增加SSL服务.doc_第5页
资源描述:

《linux下设置ftp及增加SSL服务.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、Linux下vsftpd及SSL的支持一、VSftpd1、设置vsftpd,默认linux下安装自带vsftpd,在命令行下运行setup找到networksetup选中vsftpd属性;2、修改配置/etc/vsftpd/vsftpd.conf#Exampleconfigfile/etc/vsftpd/vsftpd.conf##Thedefaultcompiledinsettingsarefairlyparanoid.Thissamplefile#loosensthingsupabit,tomakethe

2、ftpdaemonmoreusable.#Pleaseseevsftpd.conf.5forallcompiledindefaults.##READTHIS:ThisexamplefileisNOTanexhaustivelistofvsftpdoptions.#Pleasereadthevsftpd.conf.5manualpagetogetafullideaofvsftpd's#capabilities.##AllowanonymousFTP?(Beware-allowedbydefaultifyouc

3、ommentthisout).anonymous_enable=NO##Uncommentthistoallowlocaluserstologin.local_enable=YES##UncommentthistoenableanyformofFTPwritecommand.write_enable=YES##Defaultumaskforlocalusersis077.Youmaywishtochangethisto022,#ifyourusersexpectthat(022isusedbymostoth

4、erftpd's)local_umask=022##UncommentthistoallowtheanonymousFTPusertouploadfiles.Thisonly#hasaneffectiftheaboveglobalwriteenableisactivated.Also,youwill#obviouslyneedtocreateadirectorywritablebytheFTPuser.anon_upload_enable=NO##Uncommentthisifyouwanttheanony

5、mousFTPusertobeabletocreate#newdirectories.anon_mkdir_write_enable=NO##Activatedirectorymessages-messagesgiventoremoteuserswhenthey#gointoacertaindirectory.dirmessage_enable=YES##Thetargetlogfilecanbevsftpd_log_fileorxferlog_file.#Thisdependsonsettingxferl

6、og_std_formatparameterxferlog_enable=YES##MakesurePORTtransferconnectionsoriginatefromport20(ftp-data).connect_from_port_20=YES##Ifyouwant,youcanarrangeforuploadedanonymousfilestobeownedby#adifferentuser.Note!Using"root"foruploadedfilesisnot#recommended!#c

7、hown_uploads=YES#chown_username=whoever##Thenameoflogfilewhenxferlog_enable=YESandxferlog_std_format=YES#WARNING-changingthisfilenameaffects/etc/logrotate.d/vsftpd.log#xferlog_file=/var/log/xferlog##Switchesbetweenloggingintovsftpd_log_fileandxferlog_filef

8、iles.#NOwritestovsftpd_log_file,YEStoxferlog_filexferlog_std_format=YES##Youmaychangethedefaultvaluefortimingoutanidlesession.#idle_session_timeout=600##Youmaychangethedefaultvaluefortimingoutadataconnection.

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。