Step 1: Open your Ubuntu host in sshChat
You open the host in sshChat. The commands execute on the remote Ubuntu box.
whoami uname -a pwd
Normal one-shot commands already work before you install anything else.
This flow is for setup and one-shot server work. It shows exactly what happens in sshChat, what happens in the browser, and what actually runs on Ubuntu.
You open the host in sshChat. The commands execute on the remote Ubuntu box.
whoami uname -a pwd
Normal one-shot commands already work before you install anything else.
You paste the commands into sshChat. They run on the Ubuntu server.
cd /tmp curl -L https://github.com/openai/codex/releases/latest/download/codex-x86_64-unknown-linux-musl.tar.gz -o codex.tar.gz tar -xzf codex.tar.gz sudo mv codex-x86_64-unknown-linux-musl /usr/local/bin/codex sudo chmod +x /usr/local/bin/codex codex --version
The last line prints the installed Codex CLI version. If it does, the binary is ready.
You start the login in sshChat. Then you switch to the browser on your phone to approve it with your ChatGPT subscription.
codex login --device-auth
sshChat shows the verification URL and code. Open that URL in your browser, log in, enter the code, then return to sshChat.
You use sshChat as the command surface. The work happens on the server.
codex --version git status docker compose ps docker compose logs --tail 100
Use Stream Mode for long commands like npm install or docker compose build. Keep short snapshot commands in normal mode.