fatal: could not read from remote repository
-
When I run
rhc app ssh -a nodebb
on Command Prompt I get this error:DL is deprecated, please use Fiddle. No system SSH available. Please use the --ssh option to specify the path tp your SSH executable, or install SSH. We recommend this free application: Git for Windows - a basic git command line and GUI client http://msysgit.github.io/
I already installed Git, I don't know what I'm doing. I tried doing this on Git Bash, but it gives me the same error.
-
You can read about Terminal here:
https://help.ubuntu.com/community/UsingTheTerminalIt's much easier to follow a guide on a machine running Linux.
-
I tried this guide instead:
https://github.com/ahwayakchih/openshift-nodebbEverything worked fine except until I ran
git push origin master
All it gave me was this:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
I'm using Windows Powershell. I think I should use Putty because that's how I generated my SSH key.
-
Please check local Git repository (browse for it on your computer). You should see downloaded NodeBB files ready to be uploaded to the OpenShift Cloud. If you can't find them something went wrong.
-
@nhl.pl said:
Please check local Git repository (browse for it on your computer). You should see downloaded NodeBB files ready to be uploaded to the OpenShift Cloud. If you can't find them something went wrong.
Yeah, I can see them... I think?
-
I think it might help.
http://stackoverflow.com/a/24720860 -
I'm confused. Are you supposed to copy the file to git.ssh or the folder? But I can't even find any file called git.ssh
-
Just make sure your SSH keys are correctly installed on both sides (local computer and OpenShift).
http://guides.beanstalkapp.com/version-control/git-on-windows.html#installing-ssh-keys -
Yeah, done that too. Same error is repeating over again. I think it's Git.
-
Do you have Ruby and rhc gem installed?
https://developers.openshift.com/en/getting-started-windows.html -
When I dogit push origin master
it gives me this now:
fatal: Not a Git repository (or any of the parent directories): .git
Forgot to CD NodeBB. Same error comes.
I think it's because my Git version is 2.6.3 instead of the one it says in there.
-
@Aureney said:
Anyone? Still having this error.
As a Windows user you must configure Your Identity in Git.
https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup#Your-IdentityAfter that please repeat steps 3-7 from ahwayakchih's guide hosted on GitHub.
Please post an issue if you'll still have a problem when using Windows.
https://github.com/ahwayakchih/openshift-nodebb/issues -
Wow! I managed to install NodeBB on openshift using this guide instead of the docs!
-
@Aureney said in fatal: could not read from remote repository:
Wow! I managed to install NodeBB on openshift using this guide instead of the docs!
Maybe that guide should be merged into the NodeBB documentation then