Skip to content

ssh agent sock file lookup failure #143

@keturn

Description

@keturn

What happened?

[17:53:59] debug SSH session created
[17:53:59] debug Forwarding ssh-agent using /tmp/auth-agent805773347/listener.sock
[17:53:59] info Execute SSH server command: sh -c '/usr/local/bin/devpod' agent container setup --setup-info '…' --chown-workspace --inject-git-credentials --debug
[17:53:59] debug Received ping from agent
[17:53:59] error devcontainer up run agent command Process exited with status 1
[17:53:59] error chown ssh agent sock file lookup user user: unknown user 1000:1000
[17:53:59] debug Connection to SSH Server closed

What did you expect to happen instead?

connection to user 0 in a new container

How can we reproduce the bug? (as minimally and precisely as possible)

My devcontainer.json:

{
	"name": "Node.js",
	"image": "docker.io/library/node:lts-alpine"
}

Local Environment:

  • DevPod Version: 0.8.3
  • Operating System: linux (Ubuntu 25.04)
  • ARCH of the OS: AMD64

DevPod Provider:

  • Local/remote provider: ssh / podman

Anything else we need to know?

If I explicitly put "remoteUser": "root" in the configuration, it does get a bit further along, but Gateway doesn't succeed in setting up.

I wondered if this was specific to the ssh provider, but using local podman provider fails in the same way.

For comparison, VS Code on its own does seem okay with using this configuration (independent of devpod) with no remoteUser set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions