How to scp in Openshift Online ?

Solution In Progress - Updated -

Issue

  • 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
    Result:
0% complete. 0/43178 bytes transferred An unknown error occurred: SCP did not finish successfully (1):

What is the correct syntax do do this?

Environment

  • Openshift Enterprise v3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content