-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot SSH to WS via Putty #1061
Comments
What base image do you use? Custom environment? SSHD should be running in all Che verified stacks. |
Below is my Dockerfile it is based on base image from:
|
Also, when trying to get sshd status from IDE terminal I get:
|
update, I used :
I now get : |
What about a workspace started from a ready to go stack? Say a Java one? |
where can I find the Ready-To-Go-Stacks Dockerfiles? |
Yes, looks like this particular stack has troubles with sshd. I'll take a look. |
Also, it seems the selenium stack doesnt configure JAVA_HOME |
This one does not have java at all. I'll update the image to add Java and Maven. |
any other CentOS Dockerfile you know works? |
Investigating now... |
any hint? I'm building a POC for my team.... |
Password approach isn't the best one in terms of security. It is a temporary solution and we will replace all hardcoded passwords with smth like If you are ok with having password in your Dockerfile, here's what fixes it:
|
So, if I'm using SSH keys I should be able to connect with the the Dockerfile provided, no changes? |
Yes, but you need to upload your public key at Help > Preferences > Machine |
OK, I'll test both methods and update |
ok, ssh keys method connects. |
I'm able to connect via the IDE terminal to my docker machine but cannot do so via Putty, I get -
Server unexpectedly closed network connection
I'm using the port suggested by the IDE when clicking on the SSH button.
also, using user/secret no SSH key right now.
The text was updated successfully, but these errors were encountered: