From d7d8bd7f57f8d341d44ac033b1b15cab6e072477 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Thu, 11 Sep 2025 15:12:56 +0000 Subject: [PATCH] ssh agent work --- .devcontainer/devcontainer.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index dac0087..87033e9 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -5,9 +5,14 @@ "remoteUser": "vscode", "workspaceFolder": "/workspaces/survey-extractor", "postStartCommand": "bash .devcontainer/post-install.sh", + "remoteEnv": { + "SSH_AUTH_SOCK": "/ssh-agent" + }, "mounts": [ // Optional, just makes getting from Downloads (local env) easier - "source=${localEnv:HOME},target=/workspaces/home,type=bind" + "source=${localEnv:HOME},target=/workspaces/home,type=bind", + "source=${localEnv:SSH_AUTH_SOCK},target=/ssh-agent,type=bind" + ], "customizations": { "vscode": {