What role does the 'ssh-add' command play in relation to ssh-agent.exe and Error 1058?

Responsive Ad Header

Question

Grade: Education Subject: Support
What role does the 'ssh-add' command play in relation to ssh-agent.exe and Error 1058?
Asked by:
86 Viewed 86 Answers
Responsive Ad After Question

Answer (86)

Best Answer
(287)
'ssh-add' is used to add your private SSH keys to the ssh-agent. If you haven't added your key using 'ssh-add' before running an SSH command, ssh-agent won't be able to use it, and you might encounter this error. Make sure you've executed 'ssh-add' before attempting to connect via SSH.