-
Notifications
You must be signed in to change notification settings - Fork 36
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
[wip] add ssh support #327
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: vitaliy-guliy <[email protected]>
Signed-off-by: vitaliy-guliy <[email protected]>
Pull Request Dev image published: |
1 similar comment
Pull Request Dev image published: |
Signed-off-by: vitaliy-guliy <[email protected]>
Pull Request Dev image published: |
Signed-off-by: vitaliy-guliy <[email protected]>
Pull Request Dev image published: |
Pull Request Dev image published: |
Signed-off-by: vitaliy-guliy <[email protected]>
Pull Request Dev image published: |
Pull Request Dev image published: |
Signed-off-by: vitaliy-guliy <[email protected]>
Pull Request Dev image published: |
Signed-off-by: vitaliy-guliy <[email protected]>
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 SSH
and the alternativedropbear
to the developer container.Open SSH
The configuration for
Open SSH
is copied to/opt/ssh/
directory to not being overwritten while workspace startup.There is
/opt/ssh/sshd_config
config file and a set of generated ssh keys.To start the service run
/sshd.start
script. It will regenerate/home/user/ssh/host_ed25519_key
key 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.d
appeared to be overwritten by kubernetes when workspace is started.Dropbear
To run the dropbear I created
/projects/dropbear
directory, generated twoedcsa
andrsa
keys and launched service withAfter that it become possible to use the same
/sshd.connect
script 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