Tailscale ssh to a gitpod container: "Unable to change owner or mode of tty stdin: Operation not permitted" #11195
Labels
feature: tailscale
meta: never-stale
This issue can never become stale
type: bug
Something isn't working
Bug description
I cannot tailscale ssh into a gitpod container. I've tried several different client devices with the same result.
Authentication via tailscale ssh works, but then the tty cannot be allocated and the process fails with:
Unable to change owner or mode of tty stdin: Operation not permitted
I can tailscale ssh into other non-gitpod containers without issue.
Steps to reproduce
In a gitpod container:
TAILSCALE_AUTHKEY
env var in gitpod with an ephemeral authkeytailscale up
with your authkey and the ssh flagOn another device connected to the tailnet
ssh -v gitpod@<tailnet ip for the gitpod container>
Workspace affected
all
Expected behavior
I expect to be able to SSH to the gitpod instance via tailscale
Example repository
https://github.com/gitpod-io/template-tailscale
Anything else?
I first reported this issue over at tailscale, but based on the findings of this gitpod issue it seems that this phenomenon may be a consequence of gitpod's ssh daemon + container setup.
The text was updated successfully, but these errors were encountered: