From 9bb6d83895230e8f3e11d66a7a41042ffe5b736a Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Sat, 18 Nov 2023 11:20:12 +0000 Subject: [PATCH] Because the container is started as user `node`, the ssh mount should be in /home/node/.ssh rather than root Signed-off-by: Adam Warner --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e9634500..58e0d8b6 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -18,6 +18,6 @@ "GIT_EDITOR": "nano" }, "mounts": [ - "type=bind,source=/home/${localEnv:USER}/.ssh,target=/root/.ssh,readonly" + "type=bind,source=/home/${localEnv:USER}/.ssh,target=/home/node/.ssh,readonly" ] }