Unable to interrupt when Codex stuck on terminal prompt

Resolved 💬 2 comments Opened Oct 29, 2025 by Dekadinious Closed Jan 17, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.50.0

What subscription do you have?

Plus

Which model were you using?

gpt-5 codex medium

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What issue are you seeing?

I asked Codex to pull down several repos using gh. It made a terminal command with a loop, but got stuck on the first iteration with:

This key is not known by any other names. Are you sure you want to continue connecting (yes/no/[fingerprint])?

Hitting esc to interrupt has no effect. Hitting CTRL+C has no effect. The terminal also seems broken and I can't write anything. Or see it, at least.

<img width="1134" height="438" alt="Image" src="https://github.com/user-attachments/assets/191f83be-09da-44ca-9cbc-1a351e446835" />

What steps can reproduce the bug?

I think just asking it the same will reproduce it.

What is the expected behavior?

I need to be able to interrupt. It has gone for 7 minutes and does not time out. Now I need to lose my entire session to continue.

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 10 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #5870
  • #5849
  • #4775

Powered by Codex Action

etraut-openai contributor · 7 months ago

Closing out old bugs.