Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Desktop SSH bootstrap uses ~/.code typo for forwarded SSH agent fallback

Aperta Adatta ai principianti
#52,026 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@nightcityblade ci sta già lavorando.

Dal 9/10/2026.

Valutazione

Difficoltà
2/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
78/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
shell
Ambito
tooling

Direzione di ricerca

Il payload non indica il file che genera questo comando, quindi inizia cercando nel repository la stringa letterale forwarded-ssh-agent.sock e app-server-control per trovare il template di bootstrap. Cambia il fallback $HOME/.code in $HOME/.codex così da allinearlo alle altre righe. Il lavoro è completo quando nel template non resta alcun fallback .code} e i test o gli snapshot esistenti che coprono il bootstrap SSH continuano a passare.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

app app-server bug remote

Summary

The Codex Desktop SSH bootstrap command appears to contain a typo in the fallback path used for SSH_AUTH_SOCK when launching the remote app-server.

Most of the bootstrap consistently uses:

${CODEX_HOME:-$HOME/.codex}/app-server-control/...

but the final app-server launch uses:

SSH_AUTH_SOCK="${CODEX_HOME:-$HOME/.code}/app-server-control/forwarded-ssh-agent.sock" \
  nohup codex -c features.code_mode_host=true app-server --listen unix:// ...

The fallback is $HOME/.code rather than $HOME/.codex.

Expected behavior

The launch path should be consistent with the rest of the SSH bootstrap:

SSH_AUTH_SOCK="${CODEX_HOME:-$HOME/.codex}/app-server-control/forwarded-ssh-agent.sock"

Impact

In the normal zsh/bash SSH bootstrap path, CODEX_HOME is set and exported earlier, so this typo is usually masked and does not affect operation. However, if the fallback is ever used, the app-server will look for the forwarded SSH agent socket under the wrong directory.

Notes

This was observed in the command line generated by Codex Desktop for an SSH remote session. Personal host/user/IP details have been omitted.

Lingua principale
Rust
Stelle
128k
Fork
20.1k
Merge medio
1m
PR unite (30g)
994

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openai/codex

Tutte le issue di openai/codex

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.