Openshift portforwarding to remote access MySQL database

خرید بک لینک

So a followup to my other question: http://stackoverflow.com/a/37057476/2890156

I've tried port-forwarding as suggested here: http://stackoverflow.com/questions/19749599/openshift-how-to-remote-access-mysql but when I try rhc port-forward -a myapp it gives me an error:

Error trying to forward ports. You can try to forward manually by running: ssh -N [email protected]

So when I execute the command it gives me another error:

Failed to add the host to the list of known hosts (/.ssh/known_hosts). Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

I tried adding my host to the known_hosts file but apparently I don't have access to the file.

I've searched for a solution and came accross this post which has the same problem: http://stackoverflow.com/questions/24113522/rhc-not-working-on-openshift-instance?ref=driverlayer.com/web but it doesn't get answered.

So I'm posting it again to find out why port-forwarding isn't working and how to fix this problem.

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 214 تاريخ: جمعه 17 ارديبهشت 1395 ساعت: 7:39

صفحه بندی