Sprite console & ssh agent

Excited to try sprites, I hit go, got a shiny command line and tried to checkout a private repo:

git clone git@github.com:engie/private_stuff.git

This didn’t work, because my SSH Agent wasn’t available. To be extra awkward, I prefer to use destination constraints ( SSH agent restriction ) and I’ve no idea how I’d tell ssh-add about the sprite console situation.

I understand (cheers Claude) that the console connection isn’t actually over SSH, it’s tunneling through websockets somehow, so perhaps I shouldn’t expect this to work. But still - what’s the best way to forward an SSH identity to my sprite? Claude suggests installing ssh server on the sprite & using the proxy system so I can login with agent forwarding, and that feels dirty.

Stephen

Right now, for Github stuff, it’s probably easiest to use the gh CLI that is included in the base Sprite image. gh auth login to login and then tell Claude to use gh to do GitHub stuff instead of using git with a URI

I’m using tailscale to SSH into my sprite. Setup available on request. I do the git clone thing with the https://… target instead of the git://… one, but this is with public repos. I don’t want to trust the sprite with my GitHub credentials, I’m trying to figure out how to let my agent on the sprite do pull requests, ideally without having to create another GitHub user.