I have a deployement script which use to work yesterday whic basically stops services, deletes queues, delete former version, copy the new one and restarts the services, all this using a private key.
This morning it seems to succeed the first 3 steps but when it comes with the copying and all subsequent steps, i have the following error:
no such identity: /opt/atlassian/pipelines/agent/data/id_rsa: No such file or directoryPermission denied, please try again.Permission denied, please try again.Permission denied (publickey,password).lost connection
However, it is the exacte same key which is used in the previous steps. Could the key be corrupted or deleted ?
You can try adding the following steps in your bitbucket-pipelines.yml which configure to load the SSH-key to ssh-agent as a workaround to proceed with your build:
- eval `ssh-agent` - ssh-add /opt/atlassian/pipelines/agent/data/id_rsa
We've deployed a fix for this issue and will be continuing to investigate the root issue that caused it.
Would you be able to provide us the url of the specific repo that you were having issues with?
Please feel free to let us know if you encounter any further issues, or have any questions.
Bitbucket Pipelines Team
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs