1
0
mirror of synced 2025-12-21 10:57:10 -05:00

Reopened: Added update to "Adding your SSH key to the ssh-agent"

https://github.com/github/docs/pull/6782
This commit is contained in:
RDxR10
2021-06-04 22:16:06 +05:30
committed by GitHub
parent 1eeb6bb556
commit f6b590a878

View File

@@ -177,6 +177,15 @@ Before adding a new SSH key to the ssh-agent to manage your keys, you should hav
$ eval "$(ssh-agent -s)"
> Agent pid 59566
```
However, for other such environments, a variant of the above command may be used. For example:
```
$ exec ssh-agent bash
```
or
```
$ exec ssh-agent zsh
```
```
2. Add your SSH private key to the ssh-agent. {% data reusables.ssh.add-ssh-key-to-ssh-agent %}
{% data reusables.ssh.add-ssh-key-to-ssh-agent-commandline %}