Skip to content

Commit 58868af

Browse files
committed
fix for ssh config
1 parent f942693 commit 58868af

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"build": { "dockerfile": "Dockerfile" }
2+
"build": { "dockerfile": "Dockerfile" },
3+
"mounts": [
4+
"type=bind,source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh/id_rsa,target=/home/vscode/.ssh/id_rsa,readonly",
5+
"type=bind,source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh/known_hosts,target=/home/vscode/.ssh/known_hosts"
6+
]
37
}

0 commit comments

Comments
 (0)