Support for passphrase protected SSH keys #19109
Labels
area/plugins
kind/bug
Outline of a bug - must adhere to the bug report template.
new¬eworthy
For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes
severity/P1
Has a major impact to usage or development of the system.
sprint/current
Milestone
Describe the bug
SSH:Upload Private Key...
command must upload a private key to your workspace and register it withssh-add
.The command says that everything's OK, and the key is successfully uploaded.
But cloning the git repository using SSH link fails.
Che version
Steps to reproduce
Add generated public key to your GitHub account
Go to Che-Theia, open command palette, find and run
SSH: Upload Private Key...
Enter name for uploaded (it's just a label for uploaded fey, enter anything here)
Enter passphrase for your key, which you entered when generating the key
Che-Thea on this step will say that the key was successfully added.
theia-ide
container, go to/projects
and clone any project with SSH URIe.g.
git@github.com:eclipse/che-theia.git
Upload the file by hands:
ssh-add -D
. If it says thatCould not open a connection to your authentication agent.
, run the agent withssh-add -D
and try to remove keys againchmod 0600 keyfile
ssh-add keyfile
git clone git@github.com:eclipse/che-theia.git
The text was updated successfully, but these errors were encountered: