SCP不为OpenShift工作

时间:2015-04-24 13:43:57

标签: node.js openshift scp

我通过rhc ssh <myApp>连接到OpenShift。在这种情况下,<myApp>fela

[fela-basickarl.rhcloud.com 553a...]\> scp nodejs.log 553a...@fela-basickarl.rhcloud.com:~/app-root/logs/
The authenticity of host 'fela-basickarl.rhcloud.com (10.167....)' can't be established.
RSA key fingerprint is cf:ee:...:88:a7.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts (/var/lib/openshift/553a.../.ssh/known_hosts).
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
lost connection
[fela-basickarl.rhcloud.com 553a...]\> 

我想在我的电脑上获得nodejs.log的副本。

1 个答案:

答案 0 :(得分:1)

看起来你正试图从你的装备上掠过你的装备?这没有任何意义。您需要从本地工作站scp到您的装备下载文件。你不能已经进入你的装备然后再次进入你的装备,你的ssh钥匙不在那里。