question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to get private ssh key

See original GitHub issue

Fairly often we get an error while trying to git pull from our Codenvy workspace: Failed to get private ssh key. You can create a new SSH key pair in Profile->Preferences->SSH->VCS.. I understand what is being asked of me, but have already done so… We have both set a private SSH key in the workspace configuration, and created a host in Profile > Preferences > SSH > VCS for our Git server. Even after setting an SSH key pair, the problem remains.

When this happens I have to revert using Git in a terminal (with a id_rsa file manually stored in ~/.ssh/).

Is there anything I could try to unblock the situation?

Reproduction Steps:

Unfortunately I am not able to consistently reproduce the problem from a blank workspace. I can share an existing workspace that displays the problem if this could help.

Codenvy version: codenvy.io 5.6.0

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:22 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Apr 3, 2017

I’ll create an account and give it a try myself.

0reactions
TylerJewellcommented, Jul 5, 2017

Closed due to inactivity.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Troubleshoot SSH Authentication Issues
Make sure the authorized_keys file and the private key itself have the correct permissions and ownership. · Check that key-based authentication ...
Read more >
How to fix “Nessus failed to load the SSH private key” error?
You have generated the keys correctly, placed the public key on a remote server. You can connect to this server using the private...
Read more >
Private Key ssh connection error - Forum - One Identity
A new user has been generated and the ssh keys have been created for that user with the ssh-keygen tool. I have created...
Read more >
terraform - Error: Failed to read ssh private key: no key found
Try the following connection { host = data.azurerm_public_ip.test.ip_address type = "ssh" user = var.username private_key = file(".
Read more >
SSH failed public key authentication - Unix StackExchange
First, the .ssh directory should have 700 permissions and the authorized_keys file should have 600. chmod 700 .ssh chmod 600 .ssh/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found