I want to use Bitbucket SSH Keys to Acquia Cloud. But Acquia Cloud allows only 4096 bit keys and bitbucket doesn't generate 4096 bit keys.
In this situation, I created another key which is 4096 bit and added it to Acquia Cloud.
Now in the bitbucket pipeline, I need to use a newly generated private key so that CI server can authenticate itself while pushing the code to Acquia Cloud.
I followed https://support.atlassian.com/bitbucket-cloud/docs/use-multiple-ssh-keys-in-your-pipeline/ to implement this.
Using these keys I tried to do SSH in the Acquia cloud server in the pipeline but got the error:
USER@HOST: Permission denied (publickey).
Please suggest