• 11 Posts
  • 369 Comments
Joined 1 year ago
cake
Cake day: April 24th, 2023

help-circle











  • Ope sorry, right now I just have the serve config doing a redirect of port 22, however when I try to SSH in I get rejected by tailscale ACL. Says there’s no user named git.

    If I followed the steps for the vanilla docker setup I’d add a git user to the host and softlink the host authorized_keys file to the gogs container’s version, as well as add a shim script to forward the command into the container using the docker exec command, but I’d rather not do that by mucking about in the sidecar if there’s a better way. The tailscale universal docker mod for linuxserver.io says they have ssh access for their containers but as far as I can tell it just pops in the --ssh flag in tailscale up.





  • Ope, I should have mentioned that gogs is a git server so by ssh access I mean for git stuff like clone and push.

    The non-tailscale install relies on a shim script (which does use docker exec) and softlinking the host git user’s .ssh file to inside the container, but that won’t work going through the sidecar. The only way forward I can see is building my own tailscale sidecar with a git user and moving the shim script to it but I wanted to see if the community had any insight before I committed to that.