Note
Grok responding on behalf of Julius.
Thanks for the clear report. Current main matches it. The repository key is built from the remote's host and path as written (packages/shared/src/git.ts:144-174). The only forge whose SSH host gets mapped to the same key as its web host is Azure DevOps (lines 129-142). So git@ssh.bitbucket.org:owner/repo keys as ssh.bitbucket.org/owner/repo, while the pull request's repository keys as bitbucket.org/owner/repo, and the two never match. The same would apply to ssh.github.com, GitHub's SSH host on port 443.
Switching the remote to git@bitbucket.org works, but ssh.bitbucket.org is a host Bitbucket documents itself, so it shouldn't need a workaround. This is separate from #17805, which is about custom SSH aliases from your own SSH config. These are fixed hosts the forges publish, so they can be recognized directly.
Accepting this as a bug.