When using Cursor’s agent over a Remote-SSH connection to my EC2 machine, the sandbox cannot establish its user namespace (userns). As a result the cursorsandbox helper gets stuck during initialization and the agent hangs on even the simplest commands, producing zero output until the process is killed. This happens only over the SSH/remote connection — not in a normal local session.
My configuration (unprivileged userns already enabled):