Skip to content
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

VS Code requires git ssh keys to be named as "id_rsa" #14581

Closed
SathyaBhat opened this issue Oct 27, 2016 · 3 comments
Closed

VS Code requires git ssh keys to be named as "id_rsa" #14581

SathyaBhat opened this issue Oct 27, 2016 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@SathyaBhat
Copy link

  • VSCode Version:

    Version 1.6.1
    Commit 9e4e44c
    Date 2016-10-13T15:43:46.054Z
    Shell 1.3.7
    Renderer 52.0.2743.82
    Node 6.5.0

  • OS Version: Linux Mint 18

Steps to Reproduce:

  1. Create a ssh-key for github with filename something other than id_rsa (ex: github_key_id_rsa)
  2. Try to push to the remote github repository

VS Code's git push fails with error messages:

Please make sure you have the correct access rights
and the repository exists.
git fetch
Permission denied (publickey).
fatal: Could not read from remote repository.

Push to repo on the command line with git push works. If I rename the key to id_rsa then the push operations work fine

@joaomoreno
Copy link
Member

#13680

@joaomoreno joaomoreno added the *duplicate Issue identified as a duplicate of another issue(s) label Oct 27, 2016
@tr0yspradling
Copy link

tr0yspradling commented Feb 5, 2017

This issue is still very much alive. Why was this closed?

My security preference for SSH configurations is to use a different key for each service. One master key isn't very secure, so setting the key filename to a settings variable seems more logical.

@joaomoreno
Copy link
Member

@tr0yspradling It's a duplicate of #13680

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants