1
0
mirror of synced 2025-12-31 15:04:15 -05:00
Files
docs/data/reusables/command_line/start_ssh_agent.md
Laura Coursen c718ba6396 Fix indents
2021-06-08 10:00:01 -05:00

9 lines
384 B
Markdown

1. Start the ssh-agent in the background.
```shell
$ eval "$(ssh-agent -s)"
> Agent pid 59566
```
Depending on your environment, you may need to use a different command. For example, you may need to use root access by running `sudo -s -H` before starting the ssh-agent, or you may need to use `exec ssh-agent bash` or `exec ssh-agent zsh` to run the ssh-agent.