Skip to main content
Skip table of contents

Set Up and Access Your Declaree SFTP Account using puttygen

This guide explains how to generate SSH keys, upload your public key to Declaree, and connect to your SFTP account using FileZilla.


Step 1: Download PuTTYgen and Generate SSH Keys

  1. Download PuTTYgen using this link:
    ๐Ÿ‘‰ https://the.earth.li/~sgtatham/putty/latest/w64/putty-64bit-0.83-installer.msi

  2. Open PuTTYgen and click Generate.

  3. When prompted, move your mouse around the blank space below the progress bar in the PuTTYgen window.
    This creates the randomness needed to generate a secure key pair. The progress bar will gradually fill up as you move your mouse. Once itโ€™s full, the key generation is complete.

  4. Click Save private key and name it: private.ppk
    Click Save public key and name it: public.ppk


Step 2: Reformat Your Public Key

  1. Open the public.ppk file in Notepad.

  2. Delete the following lines:

    CODE
    ---- BEGIN SSH2 PUBLIC KEY ----
    Comment: "rsa-key-YYYYMMDD"
    ---- END SSH2 PUBLIC KEY ----
    
  3. Ensure the remaining key is a single line with no line breaks or extra spaces.

  4. At the very beginning of the line, manually type ssh-rsa (including a space after it).

  5. Save the file again as public.ppk.

โœ… Example of a correctly formatted public key:

CODE
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUSwuElLo+j/+VvqBUMDoRN9IuBxBrs4U1ynma3te7/ucCgdkmOzyLkKySbj5byw2FIxvBHl74wd7sy+iTDCzE+etBfT0dboSfMp9Rjztiz41OJzybdRXtGp1KA7P+pZxBaAlkeF2hlUOf/o7VAN9Iztkr+1tkwtJxzQrEz2vtNuyfNy1smYjydwPlZnzeQhCtpE5+ySKCvzULzPud75w67NPO2c9k5BdBzc15CQSEn+Aw7IDdP3LGDuqvXspFKMdJZyVP8AWXMsB5ouxhT610hguC2a+u+yz11lOIUpfPz3GrK8UgZRxFqxzajWWNI1flqJWjjdkOkqqlAwXeWIPn

Step 3: Upload Your Public Key to Declaree

  1. Log in to your Declaree administration.

  2. Go to Configuration > Import & Export > FTP Account.

  3. Click Choose File and select your public.ppk file.

  4. Click Save.


Step 4: Install FileZilla and Connect to Your FTP Account

  1. Download FileZilla Client from:
    ๐Ÿ‘‰ https://filezilla-project.org

  2. Open FileZilla and go to File > Site Manager.

  3. Create a new site with the following settings in this order:

    • Protocol: SFTP - SSH File Transfer Protocol

    • Host: ftp.declaree.com

    • Port: 22

    • Logon Type: Key file

    • User: Your FTP username

      ๐Ÿ”‘ This is the value shown in the field next to โ€œFTP-accountโ€ in the Declaree FTP Account window where you uploaded your public.ppk file.

    • Key file: Select your private.ppk file

  4. Click Connect

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.