All the kindest time of the day.
I logged in to BitBucket, added an SSH key to my account. But! At the same time, he persistently writes to me:
Клонирование в «****»… Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. I have already executed ssh-add ~/.ssh/id_rsa I have already configured git config --global user.name и git config --global user.email
After executing the ssh -T git@bitbucket.org I get the answer:
logged in as <mynickname>. You can use git or hg to connect to Bitbucket. Shell access is disabled. Only the last sentence confuses, but how to deal with it, I have no idea ... I am waiting for the help of experts ...
--updated--
After git -vT git@bitbucket.org, there is this line:
Server host key: ssh-rsa SHA256:zzXQOXSRBEiUtuE8AikJYKwbHaxvSc0ojez9YXaGp1A In this new key, which I added, begins with the characters:
AAAAB3NzaC1yc2EAAAAD... I do not know if the direction of "digging" is correct ...