SFTP Authorized Keys: Difference between revisions
mNo edit summary |
|||
Line 34: | Line 34: | ||
3. Click the '''Choose File''' button and select your public key created above. | 3. Click the '''Choose File''' button and select your public key created above. | ||
[[File: | [[File:KeyChooseFile.png|590x590px]] | ||
4. | 4. Click '''Upload''' and key will be added to your account. | ||
[[File:NewKey2.png|592x592px]] | |||
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! | 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! |
Revision as of 14:09, 2 January 2025
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)
- Open the Terminal application.
- Run the following command, replacing
keynamehere
with your desired file name:ssh-keygen -f keynamehere
- Follow the prompts:
- Press Enter
- Add a passphrase for extra security (optional)
- 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.
2. In the Key Generator window, click 'Generate' and move your mouse randomly in the blank area to create randomness.
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.
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.
3. Click the Choose File button and select your public key created above.
4. Click Upload and key will be added to your account.
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!