Codex SSH配置
Windows:
我的虚拟机上只测试了Windows11 x64和Windows 10 x64,其他版本我没测试过应该不行,毕竟codex似乎要装在win10系统以上
1.开启ssh 服务器


2.在 Win10 用 管理员 PowerShell 执行:
开机自启与启动SSH
Set-Service -Name sshd -StartupType Automatic
Start-Service sshd顺便放行防火墙端口 22:
New-NetFirewallRule -Name sshd -DisplayName "OpenSSH Server" -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22检查状态:
Get-Service sshd看到 Running 就说明 SSH 服务已启动,并且之后会开机自启。
这时候你就可以用Codex连接你的虚拟机了,让他给你装一下codex,Linux系统安装Codex CLI
总结

只是近期更新了这么个东西,以防找不到命令,所以写一篇水文(嘿嘿)