-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Milestone
Description
Description
Related changes:
- Override the default ssh askpass flow on project clone step #1291,
- Add passphrase input to the add SSH key dialog eclipse-che/che-dashboard#1157
How To Reproduce
Prerequisites:
a) create SSH key with passphrase, using the command ssh-keygen -b 2048 -t rsa -N "test"
b) add it to the GitHub.com
Steps to reproduce:
- Install Eclipse Che using User Dashboard https://quay.io/repository/eclipse/che-dashboard:pr-1157 with support of SSH key with passphrase
- Open User Dashboard and add SSH key to the User Preferences.
- Go to GitHub.com and get SSH link to any private repo using.
- Go to "Eclipse Che -> Create workspace" page and create workspace using SSH link to the private repo.
- Wait on workspace to be created, started, and project to be cloned.
- Make changes in the project, commit them and push.
- Go to workspace Terminal and try to push changes from there.
Let.Dev.Spaces.keep.ssh.passphrase.for.git.webm
Expected behavior
Changes are pushed without errors or asking for passphrase.
Actual behavior
screencast-bpconcjcammlapcogcnnelfmaeghhagj-2024.08.06-14_39_32.webm
At the step 6
there was an error Git: Warning: Permanently added the ECDSA host key for IP address '140.82.112.3' to the list of known hosts.
when tried to push changes to the repo using Source Control view of VS Code Editor.
git-error log:
> git pull --tags origin main
Warning: Permanently added the ECDSA host key for IP address '140.82.112.3' to the list of known hosts.
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
At the step 7
there was a request to enter passphrase for key '/etc/ssh/dwo_ssh_key":
Metadata
Metadata
Assignees
Labels
No labels