1
0
mirror of synced 2025-12-22 11:26:57 -05:00
Files
docs/data/reusables/command_line/start_ssh_agent.md
2023-06-23 10:45:10 -07:00

383 B

  1. Start the ssh-agent in the background.

    $ 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.