我刚刚在 EC2 上创建了一个 Ubuntu 实例,但是当我尝试通过 SSH 连接到机器时,我得到:
UNPROTECTED PRIVATE KEY FILE!
permissions 0644 for 'xxxxx.pem' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: xxxxx.pem
Permission denied (publickey).
在创建密钥时,您只需输入一个名称(没有添加密码的选项)。
如何在不弹出此警告的情况下通过 SSH 连接到机器?