Skip to content

Commit e30006b

Browse files
julyveeshiranr
andauthored
Mount default ssh directory to dev container (#874)
Co-authored-by: Shiran Rubin <[email protected]>
1 parent b4a389f commit e30006b

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
@@ -63,5 +63,9 @@
6363
"postCreateCommand": "pip3 install -r requirements-docs.txt",
6464

6565
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
66-
"remoteUser": "vscode"
66+
"remoteUser": "vscode",
67+
68+
"mounts": [
69+
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/vscode/.ssh,type=bind"
70+
],
6771
}

0 commit comments

Comments
 (0)