经过许多小时和多次尝试,现在仍然是你的帮助。在Neatbean的Openshift中,我尝试做port-forwarding来访问我的数据库。
我已经做了很多教程,升级和降级版本的net-ssh,卸载rhc等等。我读过很多git解决方案(ssh_options[].)他妈的什么都不懂。
当我试图做端口转发时,我得到了这个:
`C:\Users\andre>rhc port-forward -a leixinhos
Checking available ports ... Could not parse PKey: no start line
Usage: rhc port-forward <application>
Pass '--help' to see the full list of options
C:\Users\andre>`leixinhos是我的应用程序名,除了这个阻止我在Neatbean上访问DB的细节之外,我拥有所有正确的东西。
发布于 2015-06-20 15:25:31
在控制台输出中,我看到以下错误:Could not parse PKey: no start line
我还看到您正在Windows机器上运行rhc。
你安装了什么版本的Ruby?当我试图在我的Windows机器上使用rhc和最新版本的Ruby时,我收到了同样的错误消息。为了使所有rhc命令在windows中正确工作,我必须卸载rhc,卸载最新版本的Ruby,安装RubyVersion1.9.3,然后重新安装rhc。
https://stackoverflow.com/questions/30949547
复制相似问题