Skip to content

Commit

Permalink
chore: disable ssh mount by default
Browse files Browse the repository at this point in the history
  • Loading branch information
monotykamary committed Oct 11, 2023
1 parent abb96e9 commit 084e28c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@
},

// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node",
"mounts": [
"type=bind,source=${localEnv:HOME}/.ssh,target=/home/node/.ssh,readonly"
]
"remoteUser": "node"

// Comment out to enable mounts to mount folders or files like ssh keys:
// "mounts": [
// "type=bind,source=${localEnv:HOME}/.ssh,target=/home/node/.ssh,readonly"
// ]
}

0 comments on commit 084e28c

Please sign in to comment.