I need to install an existing Magento Cloud project locally using cli but facing issues with database dump. Indeed here's the error I get :

  Hello xxxxxxx (UUID: xxxxxxx), you successfully connected, but the service xxxxxxx doesn't exist or you do not have access to it  
  xxxxxxx@xxxxxxx.magento.cloud: Permission denied (publickey).

More details :
- cli logged in to magento-cloud with an account having access to the project
- cloud user is super admin on master environnment
- ssh key has been added with magento-cloud ssh-key:add command
- I've been able to clone the project without any problem - same error when trying to use magento-cloud ssh

If you have any ideas why ssh is working for git clone but not for direct connection or if you think about a workaround, I'm listening :)

[EDIT] I've seen on platform.sh doc that a redeployment is necessary to activate new ssh keys but it's not mentionned in magento cloud doc, what do you think about it ?


Finally, after trying a redeployment on master, SSH now works perfectly !
I'm going to try to add a note specifying a redeployment is needed to be able to use freshly added ssh keys.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.