Open
Description
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:
- I've configured the
TAILSCALE_AUTHKEY
env var in gitpod with an ephemeral authkey - Open the gitpod https://github.com/gitpod-io/template-tailscale
- Run
tailscale up
with your authkey and the ssh flag
On 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.