Open
Description
Description
It would be helpful to have SSH access enabled for prebuild workspaces. This would allow easier debugging, automation, and integration with other tools.
Proposed solution
Enable SSH access to prebuilt workspaces, similar to how it's supported in normal workspaces.
RBAC consideration
This should follow the same logic used for the delete action in RBAC. Specifically:
- Prebuilt workspaces are a subset of normal workspaces.
- Granting the
prebuilt_workspace.ssh
permission should allow SSH access only to prebuilt workspaces. - Granting the
workspace.ssh
permission should allow SSH access to both normal and prebuilt workspaces.
This mirrors the existing behavior implemented for the delete action: #18333
And aligns with the decision made in the following RFC: https://www.notion.so/coderhq/Support-Deletion-of-Prebuilt-Workspaces-203d579be592804dbcdcf4bb210a9310