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.
$ eval '$(ssh-agent -s)'ĭepending on your environment, you may need to use a different command.