{"id":2998,"date":"2023-02-02T14:54:03","date_gmt":"2023-02-02T06:54:03","guid":{"rendered":"http:\/\/192.168.1.3\/?p=2998"},"modified":"2023-02-02T14:54:03","modified_gmt":"2023-02-02T06:54:03","slug":"ftp-server-configure-file-vsftpd-conf","status":"publish","type":"post","link":"http:\/\/xc.ipyingshe.net:5347\/?p=2998","title":{"rendered":"ftp server configure file vsftpd.conf"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code># Example config file \/etc\/vsftpd.conf\n#\n# The default compiled in settings are fairly paranoid. This sample file\n# loosens things up a bit, to make the ftp daemon more usable.\n# Please see vsftpd.conf.5 for all compiled in defaults.\n#\n# READ THIS: This example file is NOT an exhaustive list of vsftpd options.\n# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's\n# capabilities.\n#\n#\n# Run standalone?  vsftpd can run either from an inetd or as a standalone\n# daemon started from an initscript.\nlisten=YES\n\n# files.\nlisten_ipv6=NO\n#\n# Allow anonymous FTP? (Disabled by default).\nanonymous_enable=YES\n#anon_root=\/media\/pi\/DATA1\nanon_root=\/srv\/ftp\n#\n# Uncomment this to allow local users to log in.\nlocal_enable=YES\nlocal_root=\/home\/pi\/Downloads\n#\n# Uncomment this to enable any form of FTP write command.\nwrite_enable=YES\n#\n# go into a certain directory.\ndirmessage_enable=YES\n\nuse_localtime=YES\n#\n# Activate logging of uploads\/downloads.\nxferlog_enable=YES\n#\n# Make sure PORT transfer connections originate from port 20 (ftp-data).\nconnect_from_port_20=YES\n#\n#\n# You may change the default value for timing out an idle session.\nidle_session_timeout=600\n#\n# You may change the default value for timing out a data connection.\ndata_connection_timeout=120\n#\n\n#\n# You may fully customise the login banner string:\nftpd_banner=Welcome to cnliutz FTP service.\n#\n#oes not require filesystem\n# access.\nsecure_chroot_dir=\/var\/run\/vsftpd\/empty\n#\n# This string is the name of the PAM service vsftpd will use.\npam_service_name=vsftpd\n#\n# This option specifies the location of the RSA certificate to use for SSL\n# encrypted connections.\nrsa_cert_file=\/etc\/ssl\/certs\/ssl-cert-snakeoil.pem\nrsa_private_key_file=\/etc\/ssl\/private\/ssl-cert-snakeoil.key\nssl_enable=NO\n\n#\n# Uncomment this to indicate that vsftpd use a utf8 filesystem.\n#utf8_filesystem=YES\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-2998","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts\/2998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2998"}],"version-history":[{"count":1,"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts\/2998\/revisions"}],"predecessor-version":[{"id":2999,"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts\/2998\/revisions\/2999"}],"wp:attachment":[{"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2998"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2998"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xc.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}