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(NativeGitOperationHelper.java:229)
......
Caused by: java.io.IOException: unrecognised object: OPENSSH PRIVATE KEY
at org.bouncycastle.openssl.PEMParser.readObject(Unknown Source)
at com.atlassian.bamboo.plugins.ssh.ProxyConnectionDataBuilderImpl.withKeyFromReader(ProxyConnectionDataBuilderImpl.java:88)
......
I assume bamboo can read OpenSSH format according to https://confluence.atlassian.com/bamkb/error-while-opening-ssh-session-when-using-putty-format-keys-608731364.html