Skip to content

Docs unclear about custom-named SSH Keys #19166

@Allyson04

Description

@Allyson04

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent

What part(s) of the article would you like to see updated?

The documentation explains how to create SSH Keys and adding to Github, problem is it didn't explain a case where the user already has a default-named key (such as "id_rsa" for RSA keys or "id_ed25519" for ed25519 keys). If the user tries to create a new SSH Key, ssh-keygen may ask to rewrite a previously created key, which is quite problematic, as rewriting another key will effectively delete it without possibility of undoing it. That way, the option of telling the user how to create custom-named SSH key and advising that trying to create a key by the default name can be a problem.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions