Description of problem: This was reported as a comment on our Blog: https://openshift.redhat.com/community/blogs/look-ma-no-hands-developing-for-the-cloud-in-the-cloud-with-cloud9-ide Steps to reproduce: Follow the blog to step 6 Expected: we should be able to add the remote OpenShift git repo to our Cloud9 workspace Actual: We get a permission denied NOTE that I also tried removing/re-adding the Cloud9 ssh key to my account (also validated that I'm on the correct OpenShift account). Cloud9 also has a bug open: https://github.com/ajaxorg/cloud9/issues/1763 I suggest combining efforts.
This is hitting people. Take a look at some of the comments on that blog.
Added workaround to the github issue: Got a workaround for this -- looks to be some parsing issue on the command interpreter -- since running a git command gives a permission denied error but putting it into a script worked. Here's what I did: In the cloud9 ide created a file called addrepo.py and added these commands into the file: import os os.system("git remote add openshift ssh://e318b598bee247698df28a49315e0fee.com:~/git/pytest.git") os.system("git remote -v") And then just ran `python addrepo.py` And it worked just dandy (you could use an equivalent ruby/js(with node)/php script as well).
Lowering severity since we have a workaround. The fix will have to come from c9.
Closing since issue has been closed upstream - https://github.com/ajaxorg/cloud9/issues/1763#issuecomment-10264312