Since the client is already sshd, it cannot open a connection to the authentication agent, what is the best way to ssh-add in this situation?
i.e.
ssh [email protected]
ssh-add
>> Could not open a connection to your authentication agent.
Since the client is already sshd, it cannot open a connection to the authentication agent, what is the best way to ssh-add in this situation?
i.e.
ssh [email protected]
ssh-add
>> Could not open a connection to your authentication agent.
Assuming you have agent forwarding set up, and the agent is already running on your local system, you can just open a new terminal and run
ssh-add
in it. The agent process remains the same, so the existing agent forwarding should be able to use newly added keys: