From ac2a5e947e15d881626527753be2c7c2bc165681 Mon Sep 17 00:00:00 2001 From: syspro86 Date: Fri, 8 Dec 2023 11:48:02 +0000 Subject: [PATCH] devcontainer ssh --- .devcontainer/devcontainer.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 6a35ec6..0103720 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -17,7 +17,7 @@ "GitHub.vscode-pull-request-github" ] } - } + }, // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], @@ -27,4 +27,8 @@ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root" + + "mounts": [ + "source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/vscode/.ssh,type=bind,consistency=cached" + ], }