configured new SSH keys after bitbucket last recommendations in email
i have issue when try to push my changes
Pushing to bitbucket.org:<ws><repo>.git
Unauthorized
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
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 bitbucket.org.
You can create a file named config in your ~/.ssh folder and add the following content:
Host bitbucket.org
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,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.