From 9959545601dc1572ebbef9a838f4b8e431943b89 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Thu, 6 Apr 2023 00:55:44 -0500 Subject: [PATCH] passing in ssh credentials from host --- .devcontainer/devcontainer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 594886e..856e9fd 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -11,7 +11,8 @@ "mounts": [ "source=/etc/localtime,target=/etc/localtime,type=bind,consistency=cached", - "source=/etc/timezone,target=/etc/timezone,type=bind,consistency=cached" + "source=/etc/timezone,target=/etc/timezone,type=bind,consistency=cached", + "source=${localEnv:HOME}/.ssh,target=/root/.ssh,type=bind,consistency=cached" ], "workspaceMount": "source=${localWorkspaceFolder},target=/conf,type=bind",