Already you generated your ssh key using the below command.
and you entered the key in Access keys of bitbucket. But still it’s displaying
Permission denied (publickey).
fatal: Could not read from remote repository.
Now what you can do??
First of all, You need to check the identities of the ssh agent using the below command:
eval `ssh-agent -s`
When you run the above commands, you can see the below message in your terminal:
The agent has no identities
To fix it you should add rsa private key using the below command:
Now you can see your actual ssh public key using the below command:
Thanks. Enjoy it!