Openshift Port forwarding

openshift, ruby, rubygems, ssh

Solution

You are probably using the beta version of the net-ssh gem. You need to install version net-ssh (2.9.2), and remove 2.9.3-beta1.

You can see what version of the net-ssh gem you are using with the following command:

gem list net-ssh

The results should look like this:

$gem list net-ssh

*** LOCAL GEMS ***

net-ssh (2.9.2)
net-ssh-gateway (1.2.0)
net-ssh-multi (1.2.0)

Problem

There already a lot of topics about it. But I'm stuck I configured ssh with succes! Now I like to configure the portforwarding for connection with TOAD. I used this tut: https://blog.openshift.com/getting-started-with-port-forwarding-on-openshift/ Now when I try rhc port-forward -a php I get this error Could not parse PKey: no start line I founded this: http://blog.skypayjm.com/2015/02/accessing-remote-openshifts-database.html I tried to downgrade ssh, but it didn't change anything. Does somebody know what I do wrong? Sincerely, Brecht

Original source