fatal could not read from remote repository. gitlab 5-3-0-stable
Created by: peter34861
Hello, I get fhe following error while:
git push -u origin master fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
My ssh key is working fine, when i look at
[admin@vm10-003 test]$ ssh [email protected]
Welcome to GitLab, wen!
Connection to git.test closed.
the same git repo , use http can to clone and push ,but use ssh has error. example: clone with http: [admin@vm10-003 test]$ git clone http://git.test.com/root/gitlab.git Cloning into 'gitlab'...
(gnome-ssh-askpass:30452): Gtk-WARNING **: cannot open display:
error: unable to read askpass response from '/usr/libexec/openssh/gnome-ssh-askpass'
Username for 'http://git.test.com': [email protected]
(gnome-ssh-askpass:30453): Gtk-WARNING **: cannot open display:
error: unable to read askpass response from '/usr/libexec/openssh/gnome-ssh-askpass'
Password for 'http://[email protected]@git.test.com':
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 7 (delta 1), reused 0 (delta 0)
Unpacking objects: 100% (7/7), done.
clone with ssh:
[admin@vm10-003 test]$ git clone [email protected]:root/gitlab.git newgitlab Cloning into 'newgitlab'... fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
and push also like this:
[admin@vm10-003 test]$ git push -u origin master
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists. [admin@vm10-003 test]$ cat .git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = [email protected]:repositories/root/test.git fetch = +refs/heads/:refs/remotes/origin/
what can i do ?
Ps: all check is all rights , so i don't how to fix this.