Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

can not push changes

lelic June 22, 2023

configured new SSH keys after bitbucket last recommendations in email  
i have issue when try to push my changes 

Pushing to<ws><repo>.git


fatal: Could not read from remote repository.


Please make sure you have the correct access rights

and the repository exists.

Completed with errors, see above

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 23, 2023

Hi @lelic,

Are you referring to the changes announced in the following blog post?

If so, please keep in mind that this change does not require you to change the SSH keys you have already set up for your account, workspace, project, or repos. You can continue using the SSH keys you had already set up, but it shouldn't be a problem if you generated a new SSH key pair.

Our recommendation in the email was to configure your SSH client to use either the ECDSA or the Ed25519 host key of Bitbucket Cloud (this is not related to the SSH keys you have set up for your account). The host key of a server (in this case, Bitbucket Cloud), is used to establish the authenticity of that server.

The "Permission denied" error is not related to the host key change, it means that your private SSH key is not being offered when you ssh to

You can create a file named config in your ~/.ssh folder and add the following content:

AddKeysToAgent yes
IdentityFile ~/.ssh/id_rsa

where id_rsa replace with the name of your private SSH key, whose public key you have added to Bitbucket.

Please feel free to let me know how it goes and if you need further assistance.

Kind regards,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events