{"id":5187,"date":"2014-07-02T00:05:25","date_gmt":"2014-07-01T16:05:25","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=5187"},"modified":"2023-06-23T13:12:59","modified_gmt":"2023-06-23T13:12:59","slug":"how-to-install-and-configure-proftpd-ftp-server-on-ubuntu-14-04","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-install-and-configure-proftpd-ftp-server-on-ubuntu-14-04\/","title":{"rendered":"How to Install and Configure ProFTPD FTP Server on Ubuntu 14.04"},"content":{"rendered":"<p>ProFTPD (short for Pro FTP daemon) is a popular open-source FTP server. It&#8217;s an alternative to vsftpd. For those who run virtual private server (VPS) or dedicated server to host your blog or website, I would recommend you to install FTP service, it will be easy for you to upload and retrieved any files to the server. This post describes the steps to install and configure ProFTPD FTP Server on Ubuntu 14.04.<\/p>\n<p>1. Install ProFTPD :<\/p>\n<pre>\nehowstuff@ubuntu14:~$ sudo apt-get install proftpd -y\n<\/pre>\n<p>2. Open proftpd configuration file and make a few changes :<\/p>\n<pre>\nehowstuff@ubuntu14:~$ sudo vi \/etc\/proftpd\/proftpd.conf\n<\/pre>\n<p>a. Turn off if not needed<\/p>\n<pre>\nUseIPv6                         off\n<\/pre>\n<p>b. Change the hostname<\/p>\n<pre>\nServerName                      \"Ubuntu14.ehowstuff.local\"\n<\/pre>\n<p>c. Specify root directory for chroot by uncomment this line. This will limit users to their home directory only :<\/p>\n<pre>\nDefaultRoot                     ~\n<\/pre>\n<p>Full example :<\/p>\n<pre>\n#\n# \/etc\/proftpd\/proftpd.conf -- This is a basic ProFTPD configuration file.\n# To really apply changes, reload proftpd after modifications, if\n# it runs in daemon mode. It is not required in inetd\/xinetd mode.\n#\n\n# Includes DSO modules\nInclude \/etc\/proftpd\/modules.conf\n\n# Set off to disable IPv6 support which is annoying on IPv4 only boxes.\nUseIPv6                         off\n# If set on you can experience a longer connection delay in many cases.\nIdentLookups                    off\n\nServerName                      \"Ubuntu14.ehowstuff.local\"\nServerType                      standalone\nDeferWelcome                    off\n\nMultilineRFC2228                on\nDefaultServer                   on\nShowSymlinks                    on\n\nTimeoutNoTransfer               600\nTimeoutStalled                  600\nTimeoutIdle                     1200\n\nDisplayLogin                    welcome.msg\nDisplayChdir                    .message true\nListOptions                     \"-l\"\n\nDenyFilter                      \\*.*\/\n\n# Use this to jail all users in their homes\nDefaultRoot                     ~\n\n..\n<\/pre>\n<p>3. Add any users that you disallowed to use FTP connection. Remove root if you want to allow root :<\/p>\n<pre>\nehowstuff@ubuntu14:~$ sudo vi \/etc\/ftpusers\n<\/pre>\n<p>By default below users are disallowed FTP access :<\/p>\n<pre>\n# \/etc\/ftpusers: list of users disallowed FTP access. See ftpusers(5).\n\ndaemon\nbin\nsys\nsync\ngames\nman\nlp\nmail\nnews\nuucp\nnobody\n<\/pre>\n<p>4. Restart ProFTPD :<\/p>\n<pre>\nehowstuff@ubuntu14:~$ sudo \/etc\/init.d\/proftpd restart\n * Stopping ftp server proftpd                                                               [ OK ]\n * Starting ftp server proftpd                                                               [ OK ]\n<\/pre>\n<p>5. Test FTP connection using FTP client.<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2014\/07\/ubuntu-proftpd-2.png\" alt=\"ubuntu-proftpd-2\" width=\"596\" height=\"138\" class=\"alignnone size-full wp-image-5188 lazyload\" data-srcset=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2014\/07\/ubuntu-proftpd-2.png 596w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2014\/07\/ubuntu-proftpd-2-300x69.png 300w\" data-sizes=\"(max-width: 596px) 100vw, 596px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 596px; --smush-placeholder-aspect-ratio: 596\/138;\" \/><\/p>\n<p>or you can access FTP server via command line :<\/p>\n<pre>\nD:\\>ftp 192.168.0.114\nConnected to 192.168.0.114.\n220 ProFTPD 1.3.5rc3 Server (Ubuntu14.ehowstuff.local) [192.168.0.114]\nUser (192.168.0.114:(none)): ehowstuff\n331 Password required for ehowstuff\nPassword:\n230 User ehowstuff logged in\nftp> ls\n200 PORT command successful\n150 Opening ASCII mode data connection for file list\nv3.1.12.zip\nehowstuff.local.conf\ncommon.conf\ndefault-edited\njcameron-key.asc\nindex.html\nwordpress.conf\npublic_html\ndefault\n226 Transfer complete\nftp: 132 bytes received in 0.02Seconds 8.25Kbytes\/sec.\nftp>\n<\/pre>\n<p>Thats all.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ProFTPD (short for Pro FTP daemon) is a popular open-source FTP server. It&#8217;s an alternative to vsftpd. For those who run virtual private server (VPS) or dedicated server to host&#8230;<\/p>\n","protected":false},"author":6,"featured_media":5174,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[2063,1073],"tags":[1396,1536,1672,1856,1858,1933],"class_list":["post-5187","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ftp","category-ubuntu","tag-ftp-server","tag-linux","tag-proftpd","tag-ubuntu","tag-ubuntu-14-04","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/5187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=5187"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/5187\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/5174"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=5187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=5187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=5187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}