Skip to content

Instantly share code, notes, and snippets.

@h3ssan
Created October 23, 2024 20:23
Show Gist options
  • Save h3ssan/fba722839b6db5c9c472407d9f573f7e to your computer and use it in GitHub Desktop.
Save h3ssan/fba722839b6db5c9c472407d9f573f7e to your computer and use it in GitHub Desktop.

The Issue

$ ssh-add -l
Error connecting to agent: No such file or directory

The Solution

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment