I am linking the git project repository in bamboo. Both of these applications are in same server. Now when I am going to add git repository it shows the below mentioned error.
Could not test connection. Please add your repository host SSH key to the list of trusted keys."
I have created ssh keys with my Git login credential say there name are XYZ and XYZ.pub. I have added the XYZ.pub in git as well as in bamboo in " Trusted Keys" option under Security. and then going to authenticate by using ssh private key i.e, XYZ. After that every time I clicked on the Test Connection it shows above mention error.
I am using Git 2.6.0 V
Bamboo 5.10.2 V
Any one can help me or suggest me any possible way to solve the issue?
Thanks in advance.
No, it's different key. Execute command
It will print all SSH keys of server. You can add them to Trusted keys list
Another approach is to add repository without testing connection and start build. It will fail with error message. There will be Add key button at error box which allows you to add correct repository SSH key
So I've added my host SSH key to the list of trusted keys – I've tried just adding the thumbprint and I've also tried adding the key returned from:
`ssh-keyscan -p 7999 localhost`
Do I need to somehow add port number information to this public key? I'm not seeing any documentation on how to specify a port number in the trusted keys list or what format it's expecting for the public key.
No, you don't need to add port. Can you try path with adding host key from error box?
To do it you need to add repository to your plan without clicking "Test connection" button. Then start plan. It will fail with message that host is not trusted. Error message will show Add key link which will add server host key to the list of Trusted keys
Incident response is a team sport, and customer support is an integral part of any team. While Ops is working hard to solve the problem at hand, support is on the front lines communicating with custo...
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