SFTP Authorized Keys


How to Set Up SFTP Authentication with Bravenet Hosting

Bravenet hosting now supports SFTP keys for enhanced security. Public SSH keys can used for authentication to your SFTP account. We support OpenSSL Public Keys (.pub) or Putty's Public Keys.

Step 1: Generate an SFTP Key

On Mac or Linux (Using Terminal)

  1. Open the Terminal application.
  2. Run the following command, replacing keynamehere with your desired file name: ssh-keygen -f keynamehere
  3. Follow the prompts:
    • Press Enter
    • Add a passphrase for extra security (optional)
  4. This will generate two files:
    • Your private key (keep this secure and private).
    • Your public key (used for uploading to Bravenet).

On Windows (Using PuTTY)

1. Download and open PuTTYgen.

PuttyGenStep1.png

2. In the Key Generator window, click 'Generate' and move your mouse randomly in the blank area to create randomness.

Puttygen.png

3. Save your keys by clicking 'Save public key' and 'Save private key'. Make sure to keep your private key secure. Your public key will be uploaded to Bravenet in the next step.

Puttygenkeytop.png

Step 2: Upload Your SFTP Key to Bravenet

1. Log in to your Bravenet account.

2. Go to the SFTP page and then click Authorized Keys next to your SFTP account. Authorized Keys.png

3. Click the Choose File button and select your public key created above.

KeyChooseFile.png

4. Click Upload and your key will be added to your account.

NewKey2.png


You have now successfully uploaded your key for SFTP authentication. If you have any further questions on how to use this feature, please reach out to our support team anytime!