Replies: 1 comment
|
Hi @pbowyer, I think here's what you want to run: ddev exec ssh -L 1455:host.docker.internal:1455 <your_username>@<your_server> |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am trying to log into OpenAI's
codextool running inside my DDEV webserver. Unlike Claude and Gemini's CLI offerings, they only have a redirect flow, not a flow with a copy+paste code. This is known to create difficulties Source 1 Source 2.The most reliable workaround is to forward port 1455 from the host to the container, like
ssh -L 1455:localhost:1455 <your_username>@<your_server>. Theddev sshcommand doesn't accept additional SSH flags, andddev describedoesn't list a direct-to-container way to SSH (because we go via the ssh-agent I guess, but I am fuzzy beyond that).Is there a way to get the port forwarding to work? It's only needed once, as afterwards the auth credentials are saved to file, and I will pop the file into my
.ddevdirectory and load it each time.All reactions