SSH配置清理:从id_rsa到id_ed25519 | AI生成和翻译

首页 2026.07

最新的配置已经正确、验证并生效——runpod/runpod-gpu-*/runner 都通过 id_ed25519 解析,并且绕过代理。剩下的一处清理是,将 Host * 默认块中的 id_rsa 移除,以免它被优先尝试。

~/ssh/config 第 18–24 行:

Host *
    UseKeychain yes
    AddKeysToAgent yes
    IdentityFile ~/.ssh/id_rsa     ← 改为 ~/.ssh/id_ed25519
    LogLevel VERBOSE
    ServerAliveInterval 60
    ServerAliveCountMax 3

修改后,用法:

用时总结:runner 4.8 秒(直连)对比 5.4 秒(通过 DMIT 代理)。runpod 仅直连。功能上更清洁——不再需要每次手动匹配主机+用户+端口。


AI生成和翻译,但整理分享仍需精力。如果觉得有帮助,欢迎 捐助支持。 微信:@lzwjavaWeChat QR · X: @lzwjava · 打个招呼 👋

返回 捐助