I just run into this when tried to enable Github SSH to perform git push.
The workaround is to run command
`eval ssh-agent`
Which sets series on environment variables making ssh-add to work.
I don’t know why this doesn’t work anymore – I am quite sure it worked on earlier Ubuntu versions out of the box.
Hi,
Where exactly do you run this? It works when I do it within a shell, but as soon as I leave and come back, I have to redo it again.
The problem is that I need this to be set at a system level because I’m using a script that will automatically download the latest version off github to run tests on it.
Any ideas?
Thx.
Shouldn’t that be:
eval `ssh-agent`
I.e. you have to eval the *output of* ssh-agent.