Could not open a connection to your authentication agent.



  • Executed command:

    $ ssh-add -l
    Could not open a connection to your authentication agent.
    

    Reason:
    The SSH_* environment variables ssh-agent are not recognised by ssh-add.

    Solution: Run the ssh-agent in a subshell

    $ eval $(ssh-agent)
    $ ssh-add -l
    The agent has no identities.
    


© Lightnetics 2024