How to scp in Openshift Online ?

Solution In Progress - Updated -


  • I need to copy some data up to my gear so I can load it into MongoDB. I am trying to use SCP. I cannot find any examples in the documentation.
    I am trying: rhc scp tools upload data.json /app-root/data/data.json
0% complete. 0/43178 bytes transferred An unknown error occurred: SCP did not finish successfully (1):

What is the correct syntax do do this?


  • Openshift Enterprise v3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In