Title photo
frugal technology, simple living and guerrilla large-appliance repair
Sun, 02 Mar 2014

New OpenShift feature I'm excited about: scp

I use Red Hat's OpenShift, and I'd like to use it more. I'm aiming to get the hang of all the different moving parts: the web interface, the rhc command-line interface, getting in with SFTP, git ...

I still maintain that PaaS (platform as a service) solutions like OpenShift need to be as easy to manage as shared hosting, which you can deal with via FTP and which doesn't need a special command-line utility.

I'm not saying that everything shouldn't be configurable for full-on developers. But there should be a simpler way to run cloud/networked applications. And yes, I recognize that we still do have shared web hosting, which can be pretty darn easy.


But PaaS is coming, and the three free Gears you get from OpenShift are quite an enticement when it comes to running small applications.

Free is good. And OpenShift's free isn't limited to a year like Amazon Web Services' free.

Amazon doesn't let you know until the bottom of their "it's free" page that the "free" only lasts 12 months. And my free year is very much over.

But let's talk about what's new in OpenShift: scp in the rhc utility.

The February update for OpenShift includes easy uploads and downloads from your Gears with the rhc command-line utility and scp, the familiar Unix utility. It's refreshingly easy, it bypasses git, and I'm all for it. Follow that last link for more.

I think this is the first time I've written about OpenShift: I find it hard to believe that I've never written about OpenShift before, but that appears to be the case.

I guess I went through the initial pain of setting up a couple of applications and haven't done much since.

I'd certainly like to do more with OpenShift, running small web applications for my day job in Bash, Perl and PHP. I have a big ol' Bash script that I'd love to offload from shared hosting and onto OpenShift. We'll see how that goes.

Update your Ruby gems to get the latest rhc and the scp capability: I checked the rhc in my Fedora 20 system, and it didn't have the scp capability.

Turns out I had to update the Ruby gem:

$ sudo gem update rhc

That command also brought in the net-scp gem, which certainly seems to be something you'd need to run scp in Ruby.