Codex CLI streams unexpected characters when ran via ssh in PowerShell

Resolved 💬 4 comments Opened May 19, 2026 by sgiardl Closed Jun 9, 2026

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_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗