Openshift plone快速启动权限被拒绝 [英] Openshift plone quickstart permission denied

查看:90
本文介绍了Openshift plone快速启动权限被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Windows上使用指南在openshift上设置plone .我已经按照 openshift快速入门指南进行了操作.但是,当我进入plone指南中的git pull -s recursive -X theirs upstream master时,会出现权限被拒绝的错误:

I'm trying to set up plone on openshift using this guide, on windows. I've got git and rhc following the openshift quickstart guide. However, when I get to git pull -s recursive -X theirs upstream master in the plone guide, I get a permission denied error:

The authenticity of host 'github.com (192.30.252.130)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.252.130' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

我不确定我在做什么错,但是我确实在rhc setup中添加了ssh密钥.有什么建议吗?

I'm not sure what I'm doing wrong here, but I did add the ssh key during rhc setup. Any suggestions?

推荐答案

原来,我也需要在github中设置我的公共密钥.一旦我配置了git和github就可以了.对于遇到此问题的其他人,这是我的工作:

Turns out I needed to set up my public key in github too. Once I configured git and github it worked. For anyone else encountering this problem, here's what I did:

  1. 将与openshift相同的公钥添加到github 此处(显然需要先登录) )

  1. Added the same public key used in openshift to github here (obviously needed to login first)

使用git config --global user.name "My Name"git config --global user.email "my@email.com"

我对git,github或ssh的了解不够深,无法理解为什么必须先登录github的原因,但这确实有效.我希望这对其他人有帮助!

I don't know git, github or ssh well enough to understand why it was necessary to log into github first, but it worked. I hope this helps someone else!

这篇关于Openshift plone快速启动权限被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆