-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Typically my dev containers run as a non-root user in VSCode and when trying to interact with the agent, I get Permission Denied.
Both ssh-add -l and simply using ssh get permission denied when interacting with the agent. The /tmp/.ssh-auth-sock permissions are srwxr-xr-x root:rooot. If I run the same container as root with:
docker run -ti --rm -e SSH_AUTH_SOCK=/tmp/.ssh-auth-sock -l com.ensody.ssh-agent-inject= --entrypoint=/bin/bash vsc-mw-docker-base-image-updater-integration-393441b99ce096875fdf31c15bd6ca7f-uid
I can use the agent socket just fine.
Metadata
Metadata
Assignees
Labels
No labels