I have just upgraded both Bitbucket and Bamboo and now Linked repositories with submodules have stopped working
simple 17-Jul-2019 19:59:45 Warning: Permanently added '[bitbucket.example.com]:7999,[1.2.3.4]:7999' (RSA) to the list of known hosts.
simple 17-Jul-2019 19:59:45 git@bitbucket.example.com: Permission denied (publickey).
simple 17-Jul-2019 19:59:45 fatal: Could not read from remote repository.
simple 17-Jul-2019 19:59:45
simple 17-Jul-2019 19:59:45 Please make sure you have the correct access rights
simple 17-Jul-2019 19:59:45 and the repository exists.
I have tried re-saving all relevant linked repositories in Bamboo (the main checked out repo and the submodule repo, both linked).
Have also tried manually adding the public key listed in the Linked repo under Advanced in Bitbucket but Bitbucket said it was already added to the repo.
It worked before the upgrade of Bamboo from 6.4 to 6.9.2.
Is there any steps one needs to take after upgrading to sync keys between Bamboo and Bitbucket that re-saving the Linked Repositories does not fulfill?