Enter the following information under the General tab: The Site Manager settings dialogue is displayed. SFTP uses SSH (secure shell) encryption to protect the data being transferred. While FTP is the traditional file transfer protocol, SFTP (Secure File Transfer Protocol) is an alternative to FTP that allows you to transfer files by adding a layer of security to the process.
However, while changing the password of the root user, the account password won't be updated. If you know the full path to your desired file on the source server, you can simply use the following command to transfer it to the destination server:ĥ.By default, FTP root accounts are still created in a new account. You can use the following instead: sftp -oPort=2222 -i ~/.ssh/yourPrivateSSHKeyNameHere Once you have connected use the help command to learn how to navigate the source and destination server: helpĤ. The following examples show what the SFTP command would look like in few different situations.īasic Password Auth SFTP with the root user on port 22: sftp Auth SFTP with the root user on port 22 sftp -i ~/.ssh/yourPrivateSSHKeyNameHere Auth SFTP with the root user on port 2222 sftp -P 2222 -i ~/.ssh/yourPrivateSSHKeyNameHere on the versions of software on your server, the above -P option may not work. From the destination server, use SFTP to connect to the source server. Log in to the destination server via SSH as the root user.Ģ. FTP users that you create in the "FTP Accounts" icon in cPanel cannot use SFTP due to the technical limitations of FTP-only users.ġ.
Please keep in mind that SFTP only works for the root user and cPanel users. SFTP makes use of the SSHD process so you may use the same authentication method and port for SFTP that you would use for SSH. If you are moving files between two cPanel servers, you can use the following basic steps to transfer a file quickly. Transferring Files Between Two cPanel Servers with the root User via SFTP Please review our documentation about configuring SFTP in your client: General SFTP Client Configuration Information
The use of SFTP is preferable to FTP when possible.