I successfully used the SSH option on a private BitBucket repo two days ago, and now CircleCI does not believe I have any SSH keys registered. When I use this option, I get:
Failed to enable SSH
No SSH key is found. Please make sure you’ve added at least one SSH key in your VCS account.
I am using an organisation BitBucket account and a free tier CircleCI account.
I have tried deleting unused accounts in my SSH keys UI:
That did not help. I also deleted a public key (that had previously been successful) and re-added it, also to no avail.
When this was working two days ago, I did not use
add_ssh_keys, so I assume that is not required. I will, however, try that. It does not seem to be mentioned in the docs.
I assume that SSH keys should be registered as per these instructions, rather than using the read-only SSH keys that one can register per project.
This seems to replicate this old problem, but that did not have a resolution.