Remote SSH connection falsely reports No `codex` found in PATH when `codex` is installed at a custom path
Open 💬 2 comments Opened Apr 23, 2026 by yiteng-guo
What version of the Codex App are you using (From “About Codex” dialog)?
26.422.20832
What subscription do you have?
api
What platform is your computer?
_No response_
What issue are you seeing?
Remote connection to SSH host fails with:
No `codex` found in PATH. Please install Codex on the remote machine.
But codex is installed at /home/$USER/bin and that path is added to $PATH in .zshrc. I believe this is a regression in the latest codex app since it worked in the previous version.
To work around it, you need to add /home/$USER/bin to ~/.profile such as
export PATH="$HOME/bin:$PATH"
What steps can reproduce the bug?
- Install
codexat/home/$USER/binand add/home/$USER/binto$PATHin.zshrc - Open up codex app and try connecting to the remote host. You will get an error.
What is the expected behavior?
_No response_
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗