I'm using Ubuntu 18 on Windows Bash
When i launch Ubuntu I can ssh-add
without any problem.
Then I connect to a remote server ssh user@address
The ForwardAgent
doesn't work (git pull, for example fails).
Then I disconnect from remote server CTRL+d
I try running ssh-add -l
and I get Error connecting to agent: Connection refused
Everything used to work fine on Ubuntu 14 - I recently upgraded to Ubuntu 18 and now I'm stuck.
OpenSSH_7.6p1
ssh-add
at all, fortunately in most cases we can use `~/.ssh/config/ case instead. For example: How do I setup SSH key based authentication for GitHub by using ~/.ssh/config file? – pa4080 Dec 16 '18 at 00:00