You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 aresrwxr-xr-x root:rooot
. If I run the same container as root with:I can use the agent socket just fine.
The text was updated successfully, but these errors were encountered: