Closed
Description
What article on docs.github.com is affected?
Generating a new SSH key and adding it to the ssh-agent
https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
What part(s) of the article would you like to see updated?
On Linux, the user is told:
> Enter a file in which to save the key (/home/you/.ssh/id_ed25519): [Press enter]
And:
$ ssh-add ~/.ssh/id_rsa
These are inconsistent - the file in the second case should be id_ed25519
.
I'd have submitted a PR, but there's inconsistent use of {% data reusables.ssh.add-ssh-key-to-ssh-agent-commandline %}
here and I don't know where that's defined.
Additional information
Results of the second command if run as documented:
pi@pi:~ $ ssh-add ~/.ssh/id_rsa
/home/pi/.ssh/id_rsa: No such file or directory