codex - 💡(How to fix) Fix Codex CLI streams unexpected characters when ran via ssh in PowerShell [3 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#23474Fetched 2026-05-20 03:49:19
View on GitHub
Comments
3
Participants
3
Timeline
9
Reactions
1
Author
Timeline (top)
labeled ×5commented ×3cross-referenced ×1
RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

codex --version 0.131.0

What subscription do you have?

Pro

Which model were you using?

No response

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What terminal emulator and version are you using (if applicable)?

PowerShell 7.6.1

Codex doctor report

What issue are you seeing?

I am running Codex CLI via ssh in PowerShell, after installing 0.131.0, I am seeing this stream of unexpected characters in PowerShell, it used to work perfectly in 0.130.0. Note that when I do "codex resume" the output is fine, but when I start a conversation or load up an existing conversation, this is what I'm seeing:

<img width="1734" height="927" alt="Image" src="https://github.com/user-attachments/assets/3cf5dc63-f1fe-42c5-8f90-d65ebacd64ed" />

Note that running this on the local machine works with no problem, but when accessing via ssh I am seeing this issue.

What steps can reproduce the bug?

  1. Connect via ssh in PowerShell 7.6.1 to a remote machine
  2. cd to the directory I want to work in
  3. run "codex resume"
  4. select the conversation
  5. hit enter
  6. I am seeing this stream of unexpected characters

What is the expected behavior?

Codex conversation launches as usual, just like in 0.130.0

Additional information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING