Codex App Remote SSH uses id_rsa by default even if it doesn't exist

Open 💬 1 comment Opened Apr 17, 2026 by hwanseoc

What version of the Codex App are you using (From “About Codex” dialog)?

26.415.21839 (1763)

What subscription do you have?

ChatGPT Enterprise

What platform is your computer?

Darwin 25.3.0 arm64 arm

What issue are you seeing?

Under codex->settings->connections->SSH connections,

discovered connections as well as added connections with no identity file specified will use id_rsa as default identity, even when it doesn't exist.

What steps can reproduce the bug?

  1. Use ssh-keygen in ~/.ssh to have id_ed25519 key without id_rsa like below (backup id_rsa)
$ ls ~/.ssh
authorized_keys config          id_ed25519      id_ed25519.pub  known_hosts     known_hosts.old
  1. Add a machine under ~/.ssh/config without the IdentityFile attribute
  1. Open Codex App, you will see Codex try to use id_rsa when it should be using id_ed25519

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗