Git ssh not working. But was working yesterday.

When I tried to take pull it said no access to repo.

Finally what solved was

ssh-add [your_private_key_name]
like
ssh-add id_ed25519