After manually cloning my git repository via the terminal in my Ubuntu instance, the JupiterLab-git extension will recognize the repository as git, but when trying to push or pull authentication fails.
“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.”
Does anyone else have this issue after:
- Setting up ssh and adding it to git and ssh-agent
- Successfully cloning git locally
- and trying to push a change via JupiterLab-git extension
Note: That I have JupiterLab auto-start using systems in Ubuntu for a fast workflow. I also tried to clone git via the JupiterLab-git extension, but it would have the same issue as above. Looks like cloning via the terminal is the only way it successfully uses the ssh key store.