PVE 自动往.ssh/authorized_keys 添加公钥意义是什么?

2022-06-21 00:13:40 +08:00
 dfgxcvbcv
检测 `authorized_keys` 的时候发现了不明公钥,吓我一跳。`ls -l` 发现链接指向 PVE 的目录,怀疑是 PVE 的某个功能生成的,于是拿了一台全新的机器安装 PVE ,安装后也出现了不明公钥,因此可以确认确实是 PVE 生成的。Google 了很久也没找到 PVE 为了实现什么功能添加了这个公钥,有 V 友知道吗?
2196 次点击
所在节点    Linux
3 条回复
dayeye2006199
2022-06-21 00:41:58 +08:00
Webshell?
263
2022-06-21 01:20:00 +08:00
集群用的,/etc/pve/priv/authorized_keys
zx900930
2022-06-21 01:24:50 +08:00
https://pve.proxmox.com/wiki/Cluster_Manager

The node’s SSH keys will remain in the authorized_key file. This means that the nodes can still connect to each other with public key authentication. You should fix this by removing the respective keys from the /etc/pve/priv/authorized_keys file.

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/861007

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX