我想在OpenShift上部署应用程序。直到我希望将它在openshift上部署应用程序 - git和ssh键不起作用
https://developers.openshift.com/en/wildfly-getting-started.html#step1
正常工作:我跟着这个教程。然后,我得到如下:
Warning: Permanently added 'xxxx.rhcloud.com,54.88.2.59' (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 rights
and the repository exists.
我在另一篇文章,我应该从我的用户/的.ssh文件夹中复制私有密钥读取(我在Windows 7中)到混帐”的ssh文件夹。
但在我的git的文件夹,里面是没有的ssh文件夹,只是一个证书文件夹
什么我需要做的是什么呢?
编辑
我跑RHC设置和得到这个错误:
Your private SSH key file should be set as readable only to yourself. Please
run 'chmod 600 C:\Users\xxx\.ssh\id_rsa'
An SSH connection could not be established to jenkins-xxx.rhcloud.com.
Your SSH configuration may not be correct, or the application may not be
responding. Could not parse PKey: no start line (ArgumentError)
哪个SSH配置?在我的电脑上?在OpenShift上?
在您的计算机上。尝试'chmod 600' –