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:ssh HASH@example-mysite.rhcloud.com
HASH is twenty two hexadecimal digits hash.
-
Copy from your computer to the gear with
scp ./FILE HASH@example-mygear.rhcloud.com:~/app-root/data
Or copy from openshift gear to your computer
scp HASH@example-mygear.rhcloud.com:~/app-root/repo/ .
Written by Djordje Mijatovic
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ssh
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#