-
Notifications
You must be signed in to change notification settings - Fork 45
[wip] add ssh support #327
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: vitaliy-guliy <vgulyy@redhat.com>
Signed-off-by: vitaliy-guliy <vgulyy@redhat.com>
|
Pull Request Dev image published: |
1 similar comment
|
Pull Request Dev image published: |
Signed-off-by: vitaliy-guliy <vgulyy@redhat.com>
|
Pull Request Dev image published: |
Signed-off-by: vitaliy-guliy <vgulyy@redhat.com>
|
Pull Request Dev image published: |
|
Pull Request Dev image published: |
Signed-off-by: vitaliy-guliy <vgulyy@redhat.com>
|
Pull Request Dev image published: |
|
Pull Request Dev image published: |
Signed-off-by: vitaliy-guliy <vgulyy@redhat.com>
|
Pull Request Dev image published: |
Signed-off-by: vitaliy-guliy <vgulyy@redhat.com>
|
Pull Request Dev image published: |
|
Pull Request Dev image published: |
1 similar comment
|
Pull Request Dev image published: |
|
Pull Request Dev image published: |
|
Pull Request Dev image published: |
|
Pull Request Dev image published: |
|
Pull Request Dev image published: |
|
Pull Request Dev image published: |
|
Pull Request Dev image published: |
|
Pull Request Dev image published: |
|
Pull Request Dev image published: |
|
Pull Request Dev image published: |
|
Pull Request Dev image published: |
What does this PR do?
It is a current state of the process of adding the
Open SSHand the alternativedropbearto the developer container.Open SSH
The configuration for
Open SSHis copied to/opt/ssh/directory to not being overwritten while workspace startup.There is
/opt/ssh/sshd_configconfig file and a set of generated ssh keys.To start the service run
/sshd.startscript. It will regenerate/home/user/ssh/host_ed25519_keykey and will start the service with writing all the output to/tmp/sshd.log.Open another browser tab an try to connect to the server with
/sshd.connect.At the moment, there is an error appear while authenticate the user
And the full trace is on the screeenshot
All the attempts to configure PAM in
/etc/pam.dappeared to be overwritten by kubernetes when workspace is started.Dropbear
To run the dropbear I created
/projects/dropbeardirectory, generated twoedcsaandrsakeys and launched service withAfter that it become possible to use the same
/sshd.connectscript to connect to the service.Or just use the command
ssh -l user -p 2022 -i /home/user/ssh/host_ed25519_key 127.0.0.1.Like with
Open SSH, the login was failedThe output from the service
and from the client
What issues does this PR fix?
eclipse-che/che#22756
How to test this PR?
Click to create a workspace
