Permission Error With Git Push
Hi, All,
I'm following the steps in this link to the T: https://developers.openshift.com/en/node-js-getting-started.html (https://developers.openshift.com/en/n...) I create the app, it works fine. I can see my app. The directory was cloned, also.
Then I follow the instructions for git (git add, etc.) Please see my cmd window output.
C:\dev\projects\demo10>git add .
warning: LF will be replaced by CRLF in .openshift/README.md.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .openshift/action_hooks/README.md.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .openshift/cron/README.cron.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .openshift/cron/weekly/README.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .openshift/cron/weekly/chrono.dat.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .openshift/cron/weekly/chronograph.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .openshift/cron/weekly/jobs.allow.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .openshift/cron/weekly/jobs.deny.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .openshift/markers/README.md.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in README.md.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in deplist.txt.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in index.html.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in package.json.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in server.js.
The file will have its original line endings in your working directory.
C:\dev\projects\demo10>git commit -m "inital test"
[master warning: LF will be replaced by CRLF in index.html.
The file will have its original line endings in your working directory.
3c2e91e] inital test
warning: LF will be replaced by CRLF in index.html.
The file will have its original line endings in your working directory.
1 file changed, 1 insertion(+), 1 deletion(-)
C:\dev\projects\demo10>git push
Warning: Permanently added 'demo10-reall.rhcloud.com,52.21.122.154' (RSA) to the
list of known hosts.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
fatal: Could not read from remote repository.
Please make sure you have the correct access ...
In order to answer, we'll probably need more info about your git repository configuration, for example, what is the exact command line you use to get / create it, etc...
@vincent-legoll - thanks! pls see edits.