Permisos Git
Si al intentar clonar un repositorio tenemos problemas de permisos
git clone git@bitbucket.org:repositorio/web.git
Cloning into 'carpeta-destino'...
git@bitbucket.org: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.Opción 1
Comprobar que en ~/.ssh/config están configurados los diferentes servidores
…
Host bitbucket
HostName bitbucket.org
User git
IdentityFile ~/.ssh/id_alelopez
IdentitiesOnly yesOpción 2
Forzar que se ejecute una clave SSH concreta
ssh-add ~/.ssh/id_alelopezy volver a clonar