Support SSH IdentityAgent config for DevContainers #10697
Labels
containers
Issue in vscode-remote containers
feature-request
Request for new features or functionality
Milestone
The DevContainers extension already supports forwarding the ssh agent via the
SSH_AUTH_SOCK
environment variable.It would be great if the extension would also support the
IdentityAgent
config (in~/.ssh/config
) which serves the same purpose asSSH_AUTH_SOCK
.Motivation: I'm using 1Password as my ssh agent. On macOS, it registers itself as ssh agent via the
IdentityAgent
config instead ofSSH_AUTH_SOCK
.Thus, out of the box, my ssh keys are not forwarded to dev containers. Instead I have to export
SSH_AUTH_SOCK
before launching vscode - which works, but it's not as seamless as it could be.Side note: The 1Password ssh agent works without problems on Windows.
The text was updated successfully, but these errors were encountered: