To synchronize a local website with Acquia Cloud, you need to register an SSH key in your Acquia user profile. If you don't already have one, you can generate a public/private key pair using Acquia Dev Desktop.
To generate an SSH key pair in Acquia Dev Desktop, complete the following steps:
- On the Acquia Dev Desktop menu, click Preferences.
- On the General tab, click Generate.
The SSH key pair dialog box appears with your new public key.
- Click Copy public key to clipboard. You can use the copied public key to register it with Acquia Cloud.
- Use the Key password field to enter an optional password for your key.
- Click Save key pair, and in the dialog box that appears, determine the location and file name of the key pair.
- Click Save to save the key pair file.
- Click Close to close the SSH key pair dialog box.
You now have an SSH key pair that you can use with other services, including Acquia Cloud.
For information about adding the key that you created to Acquia Cloud, see Adding a public key. If you copied the key to your clipboard in step 3, you can skip step 5 in the Acquia Cloud-key adding process.
Replacing old keys
If you previously had SSH keys and used the preceding process to create new keys, you may need to refresh your Acquia Cloud websites in Acquia Dev Desktop.
To refresh your websites, complete the following steps:
- If the Settings dialog box is still being displayed, click Cancel.
- In the bottom left corner, click More.
- In the list, click Refresh Acquia Cloud sites.
After the refresh process successfully completes, your local environments should be able to synchronize with your Acquia Cloud websites.