$ ssh-add -l
Error connecting to agent: No such file or directory
In VSCode make sure that: "remote.SSH.useExecServer": false
?
- Click
Ctl + ,
- Search for
remote.SSH.useExecServer
- Turn it off.
Then, restart vscode and try again.
This fix is from: roblourens