-
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
Generate SSH keys when the user login for the first time #14411
Comments
@l0rd we need a priority for that. |
@azatsarynnyy thanks for opening it. A few considerations:
|
I am not sure about this one. If I have no intention to use SSH keys on a workspace this will generate me a key and pop a notice to copy it to the clipboard. This is a confusing and since it involves SSH keys even an alarming experience for the user. |
@gorkem I agree: the message, if the users hasn't asked for any key generation, can be confusing/alarming. But current UX is awful:
Most of the new users will probably stop at 2). Some will get to 5) but there are chances that they made a mistake and We need to automate this as much as possible. What about generating a key pair silently at first login and, when a new workspace with a GitHub project is created, propose the user to copy/paste his Che workspaces public key to its GitHub profile? |
Agreed, let's not do the message to everyone thing, it is a step backwards. Considering we are trying to improve the flow through IDE on step 2 (not the git CLI), can we study if we can actually improve the git plugin at this point when it fails to push. Ideally we can hook our SSH key generation & upload logic at this point when the user really needs it. I think there is the beginnings of such a flow eclipse-theia/theia#3397 |
Majority of Che users require the SSH keys to work on their projects. For a first-time user, it can be a bit tricky to find a way to generate the keys.
The goal of this task is to generate a key pair automatically when the user login for the first time. So, after starting a workspace, in case if the user has no keys, he/she will see the notification about a key pair has been already generated automatically.
Uploading an SSH key to GitHub will be a separate task.
It's a part of Git+SSH flow epic #13494
The text was updated successfully, but these errors were encountered: