<feed xmlns="http://www.w3.org/2005/Atom"> <id>https://stc-w.github.io/</id><title>Hailong's Blog</title><subtitle>记录我的科研、项目、课程和编程学习笔记</subtitle> <updated>2026-10-11T06:42:46+00:00</updated> <author> <name>Wang Hailong</name> <uri>https://stc-w.github.io/</uri> </author><link rel="self" type="application/atom+xml" href="https://stc-w.github.io/feed.xml"/><link rel="alternate" type="text/html" hreflang="en" href="https://stc-w.github.io/"/> <generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator> <rights> © 2026 Wang Hailong </rights> <icon>/assets/img/favicons/favicon.ico</icon> <logo>/assets/img/favicons/favicon-96x96.png</logo> <entry><title>codex服务器端配置</title><link href="https://stc-w.github.io/posts/codex%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%AB%AF%E9%85%8D%E7%BD%AE/" rel="alternate" type="text/html" title="codex服务器端配置" /><published>2026-05-03T10:18:52+00:00</published> <updated>2026-05-03T11:12:24+00:00</updated> <id>https://stc-w.github.io/posts/codex%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%AB%AF%E9%85%8D%E7%BD%AE/</id> <content type="text/html" src="https://stc-w.github.io/posts/codex%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%AB%AF%E9%85%8D%E7%BD%AE/" /> <author> <name>Wang Hailong</name> </author> <category term="工具配置" /> <summary>在远程服务器上配置codex codex在远程登陆时候需要走远程服务器的网络，所以需要搭建一条隧道，让远程服务器的网络配置可以走本地代理。 1. 看自己代理的端口 我们首先需要看我们本地的代理到底走的是哪一个端口，首先打开自己的代理软件，这里以clash为例： 我们可以看到我们代理端走的是7897端口，也有很多默认是7890端口。总之先把这个端口号记住。 2.配置一下你的转发端口 这一步主要是让服务器的网络请求自动转发到我们的本机上来。这里我们需要首先找到我们的ssh配置文件在哪里。如果你用的是vscode，那么你可以根据下面这张图的两个按钮自动走到你的ssh配置文件当中去。第一个按钮是让你走到ssh插件页面，第二个按钮是让你走到ssh配置文件里。 这个时候一般会出来如下弹窗，让你选择到底是哪一个ssh文件，我们一般选择用户目录下的ssh文件，也就是 第一条 。...</summary> </entry> </feed>
