I having an issue in configuration the ssh keys
as this post but the solution didn't work with me
https://community.atlassian.com/t5/Bamboo-questions/Bamboo-YAML-spec-not-working-when-I-use-with-plan-repo/qaq-p/2004010
java.lang.IllegalArgumentException: Cannot read keypair, passphrase wasn't set java.lang.RuntimeException: java.lang.IllegalArgumentException: Cannot read keypair, passphrase wasn't set
Caused by: java.lang.IllegalArgumentException: The supplied key is not in a supported format or needs a passphrase to be decrypted
my workflow:
I clone a yaml file and modify it to work for another project, I didn't find a proper way on how to handle the ssh keys
Hello @Ibrahim Buamod
The SSH public key portion of your key needs to be added to your repository settings on your Bitbucket server, while the SSH private key needs to be encrypted before being added to the YAML specs file.
To encrypt a string, run it through Bamboo's Specs Encryption tool.
The SSH private key can't be password protected.
Thank you,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.