{"id":823,"date":"2025-12-19T09:54:18","date_gmt":"2025-12-19T08:54:18","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=823"},"modified":"2026-05-30T16:30:08","modified_gmt":"2026-05-30T14:30:08","slug":"protocols-sftp","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/en\/knowledgebase\/protocols-sftp\/","title":{"rendered":"Protocols &#8211; SFTP"},"content":{"rendered":"\n<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">SFTP (SSH File Transfer Protocol) is a secure file transfer protocol used to transfer files between a local computer and a server. It operates over SSH and provides encrypted communication for all transferred data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In hosting environments, SFTP is the recommended method for managing website files securely.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/protocols-sftp\/#How_SFTP_works\" >How SFTP works<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/protocols-sftp\/#Connection_details_in_mybox\" >Connection details in mybox<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/protocols-sftp\/#SFTP_vs_FTP\" >SFTP vs FTP<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/protocols-sftp\/#Common_use_cases\" >Common use cases<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/protocols-sftp\/#Practical_implications\" >Practical implications<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/protocols-sftp\/#Security_considerations\" >Security considerations<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/protocols-sftp\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_SFTP_works\"><\/span>How SFTP works<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<\/div>\n\n<div id=\"mybox-249887326\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Early access<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Still need help?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contact our customer service team.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Message us<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">SFTP runs on top of SSH and uses a single encrypted connection between the client and the server. Unlike FTP, it does not separate control and data channels.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When a connection is established:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>the client authenticates using SSH credentials<\/li>\n\n\n\n<li>a secure encrypted session is created<\/li>\n\n\n\n<li>files can be uploaded, downloaded, and managed remotely<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">All communication is encrypted, including login credentials and file content.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Connection_details_in_mybox\"><\/span>Connection details in mybox<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To connect via SFTP in mybox, use the following data:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Host:<\/strong> your account SSH address (provided after SSH activation in mybox panel)<\/li>\n\n\n\n<li><strong>Port:<\/strong> 22<\/li>\n\n\n\n<li><strong>Username:<\/strong> your hosting account username<\/li>\n\n\n\n<li><strong>Password:<\/strong> your SSH password<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"SFTP_vs_FTP\"><\/span>SFTP vs FTP<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>SFTP \u2260 FTP<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Feature<\/th><th>SFTP<\/th><th>FTP<\/th><\/tr><\/thead><tbody><tr><td>Encryption<\/td><td>Yes (SSH)<\/td><td>No<\/td><\/tr><tr><td>Protocol<\/td><td>SSH-based<\/td><td>Separate protocol<\/td><\/tr><tr><td>Security<\/td><td>High<\/td><td>Low<\/td><\/tr><tr><td>Default port<\/td><td>22<\/td><td>21<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">SFTP is the secure alternative to FTP and is preferred for all modern hosting environments.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Common_use_cases\"><\/span>Common use cases<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">SFTP is used for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>uploading website files to the server<\/li>\n\n\n\n<li>downloading backups or project files<\/li>\n\n\n\n<li>managing directories and file permissions<\/li>\n\n\n\n<li>deploying applications to production environments<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Practical_implications\"><\/span>Practical implications<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">SFTP does not require additional firewall ports beyond SSH (port 22), which simplifies configuration and improves security.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is important to note that SFTP provides file access only. It does not allow running system commands on the server \u2014 for that, SSH access is required.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Security_considerations\"><\/span>Security considerations<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">All data transferred via SFTP is encrypted. This includes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>login credentials<\/li>\n\n\n\n<li>file contents<\/li>\n\n\n\n<li>directory listings<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Because of this, SFTP is considered a safe method for managing hosting files, especially compared to legacy FTP connections.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">SFTP is a secure file transfer protocol that runs over SSH and allows encrypted management of server files. It replaces FTP in modern hosting environments such as mybox due to its security and simplicity.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[25],"manual_kb_tag":[915,1695,1736,1749,1786,1787,410,1788,411,1789,414,1790,516,747,749,752,753,834,835],"class_list":["post-823","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-hosting","manual_kb_tag-data-encryption","manual_kb_tag-port-2","manual_kb_tag-protocols","manual_kb_tag-encryption","manual_kb_tag-ssh-file-transfer-protocol","manual_kb_tag-network-file-transfer","manual_kb_tag-secure-file-transfer","manual_kb_tag-ssh-authentication","manual_kb_tag-sftp","manual_kb_tag-encryption-key","manual_kb_tag-encrypted-file-transfer","manual_kb_tag-password-protection","manual_kb_tag-filezilla","manual_kb_tag-secure-shell","manual_kb_tag-file-transfer","manual_kb_tag-public-key-authentication","manual_kb_tag-openssh","manual_kb_tag-file-transfer-protocol","manual_kb_tag-ftp-server"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/823","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/823\/revisions"}],"predecessor-version":[{"id":9048,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/823\/revisions\/9048"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/media?parent=823"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manualknowledgebasecat?post=823"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb_tag?post=823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}