Error creating SSH workspace: error executing node.js


#1

I’m attempting to create an SSH workspace, and I’m getting the following error:

Could not execute node.js on myservername

When I do ‘where node’ on my box, I get /usr/sbin/node’. The version is v0.12.2. I changed the node.js path on the Create Workspace page, and it didn’t help.

I have appended my SSH key to my authorized_keys file, though of course I can’t test the connection because I don’t have the private key, so I’m just sort of assuming everything is working (I log in via SSH with a private key normally, so I know I’m set up for this to work in general).

Any way to figure out what’s going on and how to fix this?

Thanks,

-Rob


#2

Never mind, figured it out. It wanted /usr/bin/nodejs for the path. Looks like I should clean up my node versions.


#3

though of course I can’t test the connection because I don’t have the private key

SSH keys are the same across all your Cloud9 workspaces so you can test this by attempting to connect from the terminal in an existing workspace hosted on Cloud9.

$ ssh username@hostname

#4

Good to know, thanks.