Problem

The following error appears while adding the downloaded private key to your client's ssh-agent:

$ ssh-add -t 1d ~/.ssh/cscs-key

Could not open a connection to your authentication agent

Solution

Provide steps that the user can take to solve the problem. For example "The level 7 printer will flash red when it is out of paper. Add paper to tray 1".

Execute the following command to run the ssh-agent:

$ eval `ssh-agent -s`

Then try the command ssh-add.  

Related articles