我想在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' –