1
0
mirror of synced 2025-12-30 03:01:36 -05:00
Files
docs/data/reusables/command_line/start_ssh_agent.md
2023-06-23 10:45:10 -07:00

9 lines
383 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.