alan garcia
Preguntasudo git pull
git@github.com: Permission denied (publickey).
fatal: No se pudo leer del repositorio remoto.
Por favor asegúrate que tienes los permisos de acceso correctos
y que el repositorio existe.
al hacer git pull me sale ese mensaje y no tengo idea de como solucionar

Alex Condori Condori
al final: git remote set-url origin git@github.com:REPOSITORIO.git

Alex Condori Condori
y al final si aun no quiere haces: git remote set-url origin https://URL/DEL/REPOSITORIO.git
o sino: git remote set-url origin git@gitlab.com:REPOSITORIO.git
Romario André Julio B
alipser@LAPTOP-SD9DFE6K:~/Prueba0.0$ sudo git pull origin main --allow-unrelated-histories git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

Christopher Andrés Guano Valencia
Hola! Vuelve a activar el servidor de claves ssh y vuelve a añadir la clave ssh privada
eval $(ssh-agent -s) ssh-add ruta/id_rsa
Espero haberte ayudado :DD