Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to generate ssh key using puttygen for bamboo 6.4


Hi, I am getting errors when trying to use OpenSSH format pem private key for our v6.4 bamboo to access our atlassian bitbucket repo using ssh key.

We kept getting this error with and without passphrase:

com.atlassian.bamboo.repository.RepositoryException: Cannot decode connection params
	at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.beforeRepositoryAccess(

Caused by: unrecognised object: OPENSSH PRIVATE KEY
	at org.bouncycastle.openssl.PEMParser.readObject(Unknown Source)
	at com.atlassian.bamboo.plugins.ssh.ProxyConnectionDataBuilderImpl.withKeyFromReader(

I assume bamboo can read OpenSSH format according to

1 answer

1 accepted

0 votes
Answer accepted
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 24, 2023 • edited

Hello @Steve Pranadhita

As you are running Bamboo 6.4, that version will not support the OpenSSH pem format. That is only available on the most recent versions of the product.

Please convert the key to the old PEM format and try again.

$ ssh-keygen -m PEM -t rsa -C user@domain -f ~/.ssh/id_rsa_pem


Eduardo Alvarenga
Atlassian Support APAC

--please don't forget to Accept the answer if the reply is helpful-- 

Thanks heaps, yes it helps, it is now able to return with a success on Test Connection however a separate issue arises the build plan seems to still use the old 'cached' repository ssh key details somehow, I might have to reclone the plan or the build job. Thanks for the immediate help! 

Like Eduardo Alvarenga likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events