microsoft / microsoft/vscode-remote-release

Support SSH IdentityAgent config for DevContainers

Open
#10,697 8 comments 51 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

containers feature-request
Dominant language
Dockerfile
Stars
4.2k
Forks
469
Avg merge
1d 1h
Merged PRs (30d)
1

Description

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 as SSH_AUTH_SOCK.

Motivation: I'm using 1Password as my ssh agent. On macOS, it registers itself as ssh agent via the IdentityAgent config instead of SSH_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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.