甲骨文云上的主机 SSH 怎么都连不上。原因是私钥丢了。于是开始了一轮抢救:
authorized_keys——命令状态停在 "Accepted",始终没有变成 "Succeeded"Permission denied (publickey)所有路都走死了。控制台的"重置 SSH 密钥"也没用。
先建新实例确认能 SSH,再删旧实例(连启动卷一起删)。旧 instance-20260414-1111 终止,新 instance-20261017 上线。
VM.Standard.A1.Flex
4 OCPU / 24 GB 内存
Ubuntu 24.04 Minimal aarch64
Oracle Always Free 顶格配置。SSH 用全新 ed25519 密钥对,一次就通。当晚博客、个人网站、电子书库全上线。
Simon 女儿昨天也试了同样操作——她的 Muse 没能拿到满血配置。大概率是 Oracle 按区域动态分配 ARM 资源,ca-montreal-1 有时没货。看运气,也看区域。
同样的方法,不同的命。云厂商的免费午餐,抢到就是赚到。
Oracle Cloud instance unreachable via SSH (lost private key). Recovery attempts:
authorized_keys — stuck at "Accepted", never reached "Succeeded"Permission denied (publickey)All routes exhausted. Console "reset SSH key" didn't help either.
Create new instance first, verify SSH works, then terminate old one (with boot volume).
New instance: VM.Standard.A1.Flex, 4 OCPU / 24GB RAM, Ubuntu 24.04 — max Always Free config. Fresh ed25519 keypair, SSH worked first try.
Simon's daughter tried the same — her Muse couldn't get the full config. Likely Oracle's regional ARM capacity limits. Same method, different luck.