What is sftp, and what are the benefits of using it?
Ssh file transfer protocol, or sftp for short, is one of the data transfer protocols that the security of data transfer through this method is much higher than FTP. This protocol transfers the files you are transferring to the host to advanced encryption methods And uses a secure ssh connection to transfer files to the host and vice versa. Using this feature can be a secure alternative to FTP because FTP transfers files easily and without encryption, so when using FTP, it is possible The theft of packets by an external agent can be a hassle for doing very important things.
But be sure to note that to use sftp, the possibility of shell access or the same ssh access must be enabled within the host c panel of your website. Some hosting companies on shared have disabled this feature due to increased overall server security. Yes, so if you need to use this feature of C-Panel, we suggest you use semi-dedicated and fully dedicated hosting because this feature may be disabled in some shared hosting.
To do this, we will first enter the host C Panel of our website by learning how to enter C-Panel, and from the security section, click on the ssh access icon to enter this page.
And as you can see on this page, it is written that this key is not allowed and can be used from ssh, and to activate it, we click on the blue authorize button.
Learning to connect hosts to fireftp software through sftp protocol
Now that we want to connect sftp c panel to our computer through fireftp software, we must first install this popular software on our computer’s Mozilla Firefox browser. Fireftp plugin can also be connected via FTP Configured between PC and host and via sftp, so first open the Mozilla Firefox browser and click on add-ons from the top-right browser.
Now to use the plugin while inside Mozilla Firefox, press the alt key on our computer keyboard to display this top bar, and now from the tools tab of the web developer section, select the fireftp plugin to enter it.
Now in the fireftp plugin, to create a new connection between the computer and the host in question, click on the create an account button from the top left to open the account manager window.
In this window, from the account name section, we have to enter a custom name for the account we want to create, and we write Mizbanfa sftp. Now in the host field, we have to enter the connection address of our host FTP. There is no problem if you do not know your server’s FTP address. We will teach you how to get the FTP address of your web host c panel. To do this, we will enter our host c panel and click on FTP accounts from the file section.
Now, in the same account manager window, to connect this account to our host via sftp, we go to the connection tab, and in this window, we select the sftp option from the security section. In contrast, the port option is the most important in communicating. It has sftp because sftp communicates via ssh, so you have to enter the ssh server port here, and this value is 22 by default. Still, many server administrators change it because of increased security if for any reason. After completing the process, your connection could not be established. Contact the hosting company or your server administrator and ask about the ssh server port, which is usually a taste number. Here we enter the main ssh server port of our server. Now from the private key section, we have to select the same ssh key that we downloaded from the C panel in the early stages; here, through browse, we select the software key from our computer desktop, and there is no need to do anything else. So we click on OK.
As you can see, a connection called Mizbanfa sftp is created on top of the fireftp software on the left side, and a lock icon is next to it. This is because the sftp protocol is secure. Now, to test the correctness of the settings in this connection from sftp here, We click on the connect button to see if it can enter our host or not and wait a while for it to connect.
In the next video tutorial on how to connect your C-Panel FTP account to the fireftp software, so that if, due to the limitations of your website hosting, you are not able to establish a connection between the computer and the host through the sftp protocol through the fireftp plugin, At least be able to establish a connection between your computer and your web host via the popular FTP protocol and the fireftp plugin, so join us to see more video tutorials about C Panel, one of the most popular admin control panels. Please visit Mizbanfa.net or follow us on Twitter.