{"id":4625,"date":"2026-04-10T12:45:43","date_gmt":"2026-04-10T12:45:43","guid":{"rendered":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/?p=4625"},"modified":"2026-04-10T12:45:44","modified_gmt":"2026-04-10T12:45:44","slug":"how-to-set-up-ftp-on-linux","status":"publish","type":"post","link":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/498\/setup-ftp-on-linux-server.html","title":{"rendered":"How to Set Up FTP on Linux\u200b?"},"content":{"rendered":"\n<p>When you manage a website or server, you may need direct access to upload, download, or manage files. That\u2019s where FTP (File Transfer Protocol) becomes useful.<\/p>\n\n\n\n<p>FTP allows you to securely and efficiently transfer files between your local computer and a Linux server. Whether you&#8217;re uploading website files, managing backups, or sharing data internally, correctly configuring FTP ensures smooth file management.<\/p>\n\n\n\n<p>In this guide, we will explain how to set up FTP on a Linux server in a simple, step-by-step way. We will use one of the most popular and secure FTP servers, <strong>vsftpd<\/strong>, because it\u2019s lightweight, stable, and widely supported.<\/p>\n\n\n\n<hr><p><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/412\/access-linux-server-using-putty-terminal.html\"><strong>How To Access a Linux Server Using PuTTY SSH Terminal?<\/strong><\/a><\/p><hr>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is vsftpd?<\/strong><\/h2>\n\n\n\n<p><strong>vsftpd<\/strong> stands for \u201cVery Secure FTP Daemon.\u201d<br><strong>It is:<\/strong><\/p>\n\n\n\n<ul style=\"margin-left:24px;\">\n\n  <li>Fast and lightweight.<\/li>\n  <li>Secure by default.<\/li>\n  <li>Easy to configure.<\/li>\n  <li>Suitable for both beginners and advanced users.<\/li>\n\n<\/ul>\n\n\n\n<hr><p><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/401\/how-to-create-sudo-user-in-linux.html\"><strong>How to Create a User in Linux &amp; Add it to the sudoer File?<\/strong><\/a><\/p><hr>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step-by-Step Guide to Setting Up FTP on Linux<\/strong><\/h2>\n\n\n\n<p>The commands below work on Ubuntu\/Debian-based systems. For CentOS\/RHEL, the commands differ slightly (we will note them where needed).<br><\/p>\n\n\n\n<h3 style=\"margin-left:24px;\"><strong>\u27a2 <\/strong><strong>Step 1: Update Your Server<\/strong><\/h3>\n\n\n\n<p>Before installing any new software, it is always recommended to update your system.<\/p>\n\n\n\n<p><strong>Updating ensures:<\/strong><\/p>\n\n\n\n<ul style=\"margin-left:24px;\">\n\n  <li>You have the latest security patches.<\/li>\n  <li>Package dependencies are up to date.<\/li>\n  <li>Installation errors are minimized.<\/li>\n\n<\/ul>\n\n\n\n<p><strong>For this, you have to run:<\/strong><br><\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>sudo apt update<br>sudo apt upgrade -y\n<\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p>If you are using CentOS\/RHEL:<br><\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>sudo yum update -y\n<\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p>This prepares your server for a clean and stable installation.<br><\/p>\n\n\n\n<h3 style=\"margin-left:24px;\"><strong>\u27a2<\/strong> <strong>Step 2: Install vsftpd<\/strong><\/h3>\n\n\n\n<p>Now, you need to install the FTP server software.<\/p>\n\n\n\n<p><strong>On Ubuntu\/Debian:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>sudo apt install vsftpd -y\n<\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p><strong>On CentOS\/RHEL:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>sudo yum install vsftpd -y\n<\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p><strong>What this does:<\/strong><\/p>\n\n\n\n<ul style=\"margin-left:24px;\">\n\n  <li>Downloads the vsftpd package from the official repositories<\/li>\n  <li>Installs required dependencies<\/li>\n  <li>Sets up the FTP service on your system<\/li>\n\n<\/ul>\n\n\n\n<p>After installation, the service file is automatically created.<\/p>\n\n\n\n<h3 style=\"margin-left:24px;\"><strong>\u27a2 <\/strong><strong>Step 3: Start and Enable the FTP Service<\/strong><\/h3>\n\n\n\n<p>After installation, the FTP service must be started manually.<\/p>\n\n\n\n<p style=\"margin-left:24px;\"><strong>\u2794<\/strong> Start the service:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>sudo systemctl start vsftpd\n<\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p>This command immediately activates the FTP server.<\/p>\n\n\n\n<p style=\"margin-left:24px;\"><strong>\u2794<\/strong> Enable it at boot:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>sudo systemctl enable vsftpd\n<\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p>This ensures FTP starts automatically whenever the server restarts.<\/p>\n\n\n\n<p><strong>To confirm it\u2019s running:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>sudo systemctl status vsftpd\n<\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p>If you see active (running), your FTP server is successfully running!<br><\/p>\n\n\n\n<h3 style=\"margin-left:24px;\"><strong>\u27a2 <\/strong><strong>Step 4: Configure FTP Settings<\/strong><\/h3>\n\n\n\n<p>The main configuration file for vsftpd is located at:<br><\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>\/etc\/vsftpd.conf\n<\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p style=\"margin-left:24px;\"><strong>\u2794<\/strong> You have to Open it: <\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>sudo nano \/etc\/vsftpd.conf\n<\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p>This file controls how your FTP server behaves.<\/p>\n\n\n\n<p><strong>Important Settings to Configure:<\/strong><\/p>\n\n\n\n<p>Make sure these lines exist and are set correctly:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>anonymous_enable=NO<br>local_enable=YES<br>write_enable=YES<br>chroot_local_user=YES\n<\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p><strong>What Each Setting Means:<\/strong><br><\/p>\n\n\n\n<ul style=\"margin-left:24px;\">\n<li>anonymous_enable=NO\n<\/li><\/ul>\n<p>It disables anonymous login. This prevents unknown users from accessing your server.<\/p>\n<ul style=\"margin-left:24px;\">\n<li>local_enable=YES\n<\/li>\n<\/ul>\n<p>It allows existing Linux users to log in using their system username and password.<\/p>\n<ul style=\"margin-left:24px;\">\n<li>write_enable=YES\n<\/li>\n<\/ul>\n<p>It allows users to upload, edit, and delete files.\n<\/p>\n<ul style=\"margin-left:24px;\">\n<li>chroot_local_user=YES\n<\/li>\n<\/ul>\n<p>It restricts users to their own home directory. This improves security by preventing access to other system folders.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p style=\"margin-left:24px;\"><strong>\u2794<\/strong> <strong>After editing:<\/strong><\/p>\n\n\n\n<ul style=\"margin-left:24px;\">\n\n<li>Press <strong>\u2018CTRL + X\u2019<\/strong><\/li>\n<li>Press <strong>\u2018Y\u2019<\/strong><\/li>\n<li>Press <strong>\u2018Enter\u2019<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Restart the service to apply changes:<br><\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>sudo systemctl restart vsftpd\n<\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<h3 style=\"margin-left:24px;\"><strong>\u27a2 <\/strong><strong>Step 5: Create an FTP User<\/strong><\/h3>\n\n\n\n<p>For security reasons, you should not use the root account for FTP access.<\/p>\n\n\n\n<p><strong>Create a new user:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>sudo adduser ftpuser\n<\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p>You will be prompted to set a password.<\/p>\n\n\n\n<p><strong>This user:<\/strong><\/p>\n\n\n\n<ul style=\"margin-left:24px;\">\n\n  <li>Gets a home directory (e.g., <strong>\/home\/ftpuser<\/strong>)<\/li>\n  <li>Can log in via FTP<\/li>\n  <li>Is restricted to their own folder (if chroot is enabled)<\/li>\n<\/ul>\n\n\n\n<p><strong>Set correct permissions:<\/strong><br><\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>sudo chmod 755 \/home\/ftpuser\n<\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p>This ensures the folder is accessible but not insecure.<br><\/p>\n\n\n\n<h3 style=\"margin-left:24px\"><strong>\u27a2 <\/strong><strong>Step 6: Configure the Firewall<\/strong><\/h3>\n\n\n\n<p>If your firewall is active, FTP connections may be blocked by default.<\/p>\n\n\n\n<p>For Ubuntu (UFW):<\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>sudo ufw allow 20\/tcp<br>sudo ufw allow 21\/tcp<br>\nsudo ufw allow 40000:50000\/tcp<br>sudo ufw reload\n<\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p><strong>Explanation:<\/strong><\/p>\n\n\n\n<ul style=\"margin-left:24px;\">\n    <li>Port 21 is used for FTP control connection<\/li>\n    <li>Port 20 is used for data transfer (active mode)<\/li>\n    <li>Ports 40000\u201350000 are for passive mode connections<\/li>\n<\/ul>\n\n\n\n<p><strong>For CentOS (firewalld):<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>sudo firewall-cmd &#8211;permanent &#8211;add-service=ftp<br>\nsudo firewall-cmd &#8211;reload\n\n<\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p>Without opening these ports, clients won\u2019t be able to connect.<br><\/p>\n\n\n\n<h3 style=\"margin-left:24px;\"><strong>\u27a2 <\/strong><strong>Step 7: Enable Passive Mode (Recommended)<\/strong><\/h3>\n\n\n\n<p>Passive mode improves compatibility, especially when clients are behind firewalls or NAT.<\/p>\n\n\n\n<p style=\"margin-left:24px;\"><strong>\u2794<\/strong> Open the config file again:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>sudo nano \/etc\/vsftpd.conf\n                 <\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p style=\"margin-left:24px;\"><strong>\u2794<\/strong> You have to add:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>sudo systemctl restart vsftpd\n                 <\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p style=\"margin-left:24px;\"><strong>\u2794<\/strong> Restart the service:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>sudo systemctl restart vsftpd\n                 <\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p>Now your server properly supports passive FTP connections.<br><\/p>\n\n\n\n<h3 style=\"margin-left:24px;\"><strong>\u27a2 <\/strong><strong>Step 8: Test the FTP Connection<\/strong><\/h3>\n\n\n\n<p><strong>You have to use an FTP client such as:<\/strong><\/p>\n\n\n\n<ul style=\"margin-left:24px;\">\n    <li>FileZilla<\/li>\n    <li>WinSCP<\/li>\n    <li>Command-line FTP<\/li>\n<\/ul>\n\n\n\n<p><strong>You have to enter:<\/strong><\/p>\n\n\n\n<ul style=\"margin-left:24px;\">\n    <li>Host: Your server IP address<\/li>\n    <li>Username: ftpuser<\/li>\n    <li>Password: (your password)<\/li>\n    <li>Port: 21<\/li>\n<\/ul>\n\n\n\n<p>If the login is successful, your FTP server is working correctly.<\/p>\n\n\n\n<hr><p><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/451\/common-ftp-errors-with-solutions.html\"><strong>Common FTP Errors With Solutions Important to Know<\/strong><\/a><\/p><hr>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Security Recommendations<\/strong><\/h2>\n\n\n\n<p>Traditional FTP does not encrypt data. That means usernames and passwords can be visible during transfer.<\/p>\n\n\n\n<p><strong>For better security:<\/strong><\/p>\n\n\n\n<ul style=\"margin-left:24px;\">\n    <li>Use FTPS (FTP over SSL)<\/li>\n    <li>Or use SFTP (via SSH) instead of standard FTP<\/li>\n    <li>Never allow anonymous login<\/li>\n    <li>Avoid root access via FTP<\/li>\n    <li>Use strong passwords<\/li>\n<\/ul>\n\n\n\n<p>For production servers, SFTP is usually the safest option.<\/p>\n\n\n\n<hr><p><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/262\/How-To-Get-FTP-Password-From-FileZilla.html\"><strong>How To Get FTP Password From FileZilla<\/strong><\/a><\/p><hr>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>Setting up FTP on Linux is a straightforward process when done step by step. By installing and properly configuring vsftpd, you create a secure and controlled environment for file transfers.<\/p>\n\n\n\n<p><strong>The most important parts of the setup are:<\/strong><\/p>\n\n\n\n<ul style=\"margin-left:24px;\">\n\n  <li>Proper configuration of the vsftpd file.<\/li>\n  <li>Creating a separate FTP user.<\/li>\n  <li>Securing your server with firewall rules.<\/li>\n  <li>Restricting users to their own directories.<\/li>\n\n<\/ul>\n\n\n\n<p>Once everything is configured correctly, FTP becomes a powerful and convenient tool for managing server files remotely.<\/p>\n\n\n\n<p>With the right setup and security measures, you can ensure smooth, safe, and professional file management on your Linux server.<\/p>\n\n\n\n<script>\nfunction copyCommand(btn) {\n  const td = btn.parentElement.querySelector(\"td.kb_firewall\");\n  const text = td.innerText.trim();\n\n  navigator.clipboard.writeText(text).then(() => {\n    const msg = btn.parentElement.querySelector(\".copy-msg\");\n    msg.style.display = \"inline-block\";\n    setTimeout(() => msg.style.display = \"none\", 1000);\n  });\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>When you manage a website or server, you may need direct access to upload, download, or manage files. That\u2019s where FTP (File Transfer Protocol) becomes useful. FTP allows you to securely and efficiently transfer files between your local computer and a Linux server. Whether you&#8217;re uploading website files, managing backups, or sharing data internally, correctly [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[],"class_list":["post-4625","post","type-post","status-publish","format-standard","hentry","category-vps"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Set Up FTP on Linux\u200b?<\/title>\n<meta name=\"description\" content=\"Learn to set up FTP on Linux with this simple guide. Configure, secure, and manage your FTP server using simple commands and best security practices.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/498\/setup-ftp-on-linux-server.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Up FTP on Linux\u200b?\" \/>\n<meta property=\"og:description\" content=\"Learn to set up FTP on Linux with this simple guide. Configure, secure, and manage your FTP server using simple commands and best security practices.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/498\/setup-ftp-on-linux-server.html\" \/>\n<meta property=\"og:site_name\" content=\"Host IT Smart Knowledge base\" \/>\n<meta property=\"article:published_time\" content=\"2026-04-10T12:45:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-10T12:45:44+00:00\" \/>\n<meta name=\"author\" content=\"Admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/498\/setup-ftp-on-linux-server.html\",\"url\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/498\/setup-ftp-on-linux-server.html\",\"name\":\"How to Set Up FTP on Linux\u200b?\",\"isPartOf\":{\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website\"},\"datePublished\":\"2026-04-10T12:45:43+00:00\",\"dateModified\":\"2026-04-10T12:45:44+00:00\",\"author\":{\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108\"},\"description\":\"Learn to set up FTP on Linux with this simple guide. Configure, secure, and manage your FTP server using simple commands and best security practices.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/498\/setup-ftp-on-linux-server.html\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website\",\"url\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/\",\"name\":\"Host IT Smart Knowledge base\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g\",\"caption\":\"Admin\"},\"sameAs\":[\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/\"],\"url\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Set Up FTP on Linux\u200b?","description":"Learn to set up FTP on Linux with this simple guide. Configure, secure, and manage your FTP server using simple commands and best security practices.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/498\/setup-ftp-on-linux-server.html","og_locale":"en_US","og_type":"article","og_title":"How to Set Up FTP on Linux\u200b?","og_description":"Learn to set up FTP on Linux with this simple guide. Configure, secure, and manage your FTP server using simple commands and best security practices.","og_url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/498\/setup-ftp-on-linux-server.html","og_site_name":"Host IT Smart Knowledge base","article_published_time":"2026-04-10T12:45:43+00:00","article_modified_time":"2026-04-10T12:45:44+00:00","author":"Admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/498\/setup-ftp-on-linux-server.html","url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/498\/setup-ftp-on-linux-server.html","name":"How to Set Up FTP on Linux\u200b?","isPartOf":{"@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website"},"datePublished":"2026-04-10T12:45:43+00:00","dateModified":"2026-04-10T12:45:44+00:00","author":{"@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108"},"description":"Learn to set up FTP on Linux with this simple guide. Configure, secure, and manage your FTP server using simple commands and best security practices.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/498\/setup-ftp-on-linux-server.html"]}]},{"@type":"WebSite","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website","url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/","name":"Host IT Smart Knowledge base","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g","caption":"Admin"},"sameAs":["https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/"],"url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/4625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/comments?post=4625"}],"version-history":[{"count":119,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/4625\/revisions"}],"predecessor-version":[{"id":4814,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/4625\/revisions\/4814"}],"wp:attachment":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/media?parent=4625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/categories?post=4625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/tags?post=4625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}