I have a repository with my personal SSH key setup, this all works fine.
Then I have created an extra SSH key (on a different host) and add this SSH key to 'Access keys'. Now I am able to pull the repository to this new host. Until here everything works as expected.
But now I am unable to push from my local computer.
$ hg push
pushing to ssh://hg@bitbucket.org/XXXXXXX/XXXXX
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 2 changesets with 1 changes to 1 files
remote: repository access denied. access via a deployment key is read-only.
remote: transaction abort!
remote: rollback completed
remote: pretxnchangegroup.bb_perm hook failed
abort: push failed on remote