Skip to content

Assigning public SSH key to GitHub account #582

@paulgo1

Description

@paulgo1

Hi,
I’m new to coding and GitHub but I’ve found something in the Installfest instructions that may be a typo error or perhaps just a misunderstanding on my part. Would appreciate a second opinion, thanks.

The instructions in the documentation requests the student to add a generated public key to the authentication agent, as follows.

Add your generated public key to the authentication agent using the following command:

Type this in the terminal:

ssh-add ~/.ssh/id_rsa

However wouldn’t the above instruction actually add the private key instead of the public key?

Since ‘id_rsa.pub’ is the public key, should the instruction be: ssh-add ~/.ssh/id_rsa.pub ?

Here’s a link to the installfest page, scroll down to the 'Verify' section. http://installfest.railsbridge.org/installfest/create_an_ssh_key#generate-key

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions