-
Notifications
You must be signed in to change notification settings - Fork 28.9k
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
git integration - Permission Denied (publickey) #6202
Comments
What are your credential files names, in |
I am seeing this issue too. If have id_rsa and GitHub_rsa files in my .ssh folder. I am trying to use the id_rsa key to connect to vsts. |
Does it work from the command line for you? Which command line? |
Closing due to inactivity. |
I have this problem too. It works on cmd, git-bash. My credential files are in My current solution is everytime I want to run vscode, I run it via git-bash. It would be more convenient if there is interface to input passphrase before accessing remote |
@saggafarsyad Can you show me a screenshot of how you input the passphrase, when it works? |
@joaomoreno Here is the screenshot I use ssh from git-bash as my ssh agent. When I open git-bash, it will ask for passphrase. Then I run VS Code by writing |
@saggafarsyad Created #10064 for this. PS: Cool ConEmu theme btw. |
I am also seeing behavior very similar to this, but I'm using plink.exe and pageant.exe as my ssh client and agent, respectively. Everything works fine in the console, and in Git Kraken - but vscode does not appear to either a) be using plink.exe or b) using pageant. Update: nevermind. It looks like I can set |
Also: the value of the command has to be quoted. It seems like Code should be more defensive in how it uses the environment variable; this is what I had to do to get it to work. |
Did anyone figure out how to fix this? I'm running into the same issue today (VSCode 1.15.1). The core issue seems to be this; in my case, I had two SSH keys: one generated by GitHub for Windows and one hand-generated with For some reason, Visual Studio Code picked up the latter one instead of the former. To solve this, I added the latter to GitHub, and everything works now. |
I found this on stackoverflow. I've used it and it works like a charm. |
still having same issue |
Steps to Reproduce:
Works fine from windows cli, git gui, etc
Full detail here
http://stackoverflow.com/questions/37103047
Is this buggy behavior?
The text was updated successfully, but these errors were encountered: