Skip to content

Commit 2eda6f9

Browse files
committed
Remove alternative commands from specific article
1 parent 167d51b commit 2eda6f9

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

content/github/authenticating-to-github/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -170,23 +170,6 @@ Before adding a new SSH key to the ssh-agent to manage your keys, you should hav
170170

171171
1. {% data reusables.command_line.start_ssh_agent %}
172172

173-
In some Linux environments, you need root access to run the command:
174-
175-
```
176-
$ sudo -s -H
177-
$ eval "$(ssh-agent -s)"
178-
> Agent pid 59566
179-
```
180-
However, for other such environments, a variant of the above command may be used. For example:
181-
```
182-
$ exec ssh-agent bash
183-
```
184-
or
185-
```
186-
$ exec ssh-agent zsh
187-
```
188-
```
189-
190173
2. Add your SSH private key to the ssh-agent. {% data reusables.ssh.add-ssh-key-to-ssh-agent %}
191174
{% data reusables.ssh.add-ssh-key-to-ssh-agent-commandline %}
192175

0 commit comments

Comments
 (0)