Describe your question in as much detail as possible:
* I created my project “myblogs” on Gitlab.com, and added my ssh key.
* I use git client smartgit20.2.3 in Ubuntu20.04.1LTS.
* Every time I push to my project, I set the private key file and input the passphrase.
* I push to my gitlab project once or twice almost everyday, but now l can’t push or pull, because it has errors.
* my other projects under my gitlab account have the same problem too.
* I can access the web page of my project on gitlab.com without using VPN.
- What are you seeing, and how does it differ from what you expect to see?
When I push to my gitlab project, my smartgit client shows this error:
`
git -c credential.helper=/path/to/smartgit/lib/credentials.sh push --porcelain --progress origin refs/heads/master:refs/heads/master
Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists. `
When I pull from to my gitlab project, my smartgit client shows this error:
`
git -c credential.helper=/path/to/smartgit/lib/credentials.sh fetch --progress --prune --recurse-submodules=no origin
Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.`
-
Consider including screenshots, error messages, and/or other helpful visuals
-
What version are you on (Hint:
/help) ? and are you using self-managed or gitlab.com?
I use gitlab.com.
$git —version
git version 2.25.1
- What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?
I google the error message, and someone suggests to update the ssh key. But it’s inconvenient for me to update it to my gitlab account. So, I haven’t tried it, and I prefer alternative solutions.