Skip to content

Commit

Permalink
Merge pull request #27 from zhyma/patch-1
Browse files Browse the repository at this point in the history
remove unnecessary ssh-agent part
  • Loading branch information
acamilo authored Aug 15, 2019
2 parents ec58716 + dc57d2d commit 20e8c20
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,26 +61,6 @@ At the prompt, type a secure passphrase. For more information, see "Working with

`> Enter passphrase (empty for no passphrase): [Type a passphrase]
> Enter same passphrase again: [Type passphrase again]`
## Adding your SSH key to the ssh-agent
Before adding a new SSH key to the ssh-agent to manage your keys, you should have checked for existing SSH keys and generated a new SSH key.

Start the ssh-agent in the background.

```
$ eval "$(ssh-agent -s)"
> Agent pid 59566
```

Set the permissions of ` ~/.ssh/id_rsa`

`chmod 700 ~/.ssh/id_rsa`


Add your SSH private key to the ssh-agent. If you created your key with a different name, or if you are adding an existing key that has a different name, replace id_rsa in the command with the name of your private key file.

`ssh-add ~/.ssh/id_rsa`


And then: https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/

Expand Down

0 comments on commit 20e8c20

Please sign in to comment.