Last Updated: March 01, 2016
· djm-rs

scp from localhost to openshift

If you have used openshift you could found out it if very easy deploy application from github.

But, what if you do not want to publish you code at github?!

I foun way to scp from my localhost to openshift gear:

  • Sign in your openshift account and open an application where you want copy file(s).

  • Click at link 'Want to log in to your application?'

  • After thet you will see ssh command which enable you ssh login to the gear.
    For example:


    HASH is twenty two hexadecimal digits hash.

  • Copy from your computer to the gear with

    scp ./FILE

    Or copy from openshift gear to your computer

    scp .