if my key is named id_rsa.pub and I put it into bitbucket ssh setting. It is working out of box. When I ssk-keygen name like id_rsa_else.pub, then insert to ssh key setting. It is saying
I try this in ~/.ssh/config
Host andatech_bitbucket_my_username
HostName bitbucket.org
User andatech_my_username
IdentityFile ~/.ssh/andatech_my_username_bitbucket
I got this error:
repository access denied.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
More detail: https://stackoverflow.com/questions/44329025/bitbucket-ssh-key-cant-have-name-other-than-id-rsa