<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>SSH on Dreaming time - a blog by Ji Huang</title>
    <link>https://jhuang.netlify.app/tags/ssh/</link>
    <description>Recent content in SSH on Dreaming time - a blog by Ji Huang</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 08 Jun 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://jhuang.netlify.app/tags/ssh/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Fix Codex CLI login on a remote Ubuntu server using WSL2 auth.json</title>
      <link>https://jhuang.netlify.app/blog/2026-06-08-codex-remote-login-wsl-auth-json/</link>
      <pubDate>Mon, 08 Jun 2026 00:00:00 +0000</pubDate>
      <guid>https://jhuang.netlify.app/blog/2026-06-08-codex-remote-login-wsl-auth-json/</guid>
      <description>&lt;p&gt;I use Codex CLI on an Ubuntu server. After updating Codex, the old &lt;code&gt;service_tier = &amp;quot;default&amp;quot;&lt;/code&gt; config error went away, but I still could not finish browser login from the server.&lt;/p&gt;
&lt;p&gt;The problem was the OAuth callback URL:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;http://localhost:1455/auth/callback?code=...
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Codex was running on the remote server, but the browser was running on my Windows machine. In the browser, &lt;code&gt;localhost&lt;/code&gt; means Windows, not the remote Ubuntu server. So the browser could not reach the Codex callback listener on the server.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
