Home
/
Website Help
/
FTP inquiries
/
How to establish a SFTP connection to your website via Cyberduck?

How to establish a SFTP connection to your website via Cyberduck?

To establish an SFTP connection to your website, first go to your Site Tools > Devs > SSH Keys Manager and generate a new SSH key pair.

SSH keys can be used to access all files on the website via SFTP/SSH and cannot be configured to limit access to specific folders. It is crucial to store these keys securely to prevent unauthorized access.

Then under Manage SSH Keys, go to the kebab menu > Private Key. Copy the key’s contents, paste it in an empty file on your computer and save it. Change the permissions of the key file to 600:

chmod 600 /Users/youruser/private_key

Replace /Users/youruser/private_key with the location of your private key text file.

Then open Cyberduck and click the Open Connection button at the top left. A popup will appear in which you should set the following:

  • SFTP (SSH File Transfer Protocol);
  • Server – the server hostname;
  • Port – 18765;
  • Username – your SFTP username;
  • Password – leave empty;
  • SSH Private Key – find and select the SSH private key file you saved.

The username and hostname are the same as the SSH credentials for your website, which are available in Site Tools > Devs > SSH Keys Manager. Under Manage SSH Keys, choose the key which was created earlier and go to the kebab menu > SSH Credentials.

During your first connection, you will be prompted to store the server’s fingerprint. Mark the Always checkbox if you plan on connecting to the same server again and click Allow to proceed.

You will be prompted for the SSH key’s passphrase that you used to create the SSH key earlier. Type it to successfully connect to your website via SFTP.

Share This Article