Ask HN:一个 SSH 密钥还是多个 SSH 密钥?
2 分•作者: htunnicliff•大约 1 个月前
使用多个独立的密钥来认证不同资源,与只使用一个 SSH 密钥相比,有什么好处吗?
一方面,我听说 SSH 密钥应该代表一个身份,所以到处使用你的“身份”是有道理的。
另一方面,我听说将 SSH 密钥分开很重要,就像为不同资源使用不同的密码很重要一样。
大家怎么看?
查看原文
Is there any benefit to using multiple, separate keys to authenticate to different resources versus only using a single SSH key?<p>On one hand, I've heard that an SSH key is supposed to represent an identity, so using your "identity" everywhere makes sense.<p>On the other hand, I've heard that keeping SSH keys separate is important in the same way using separate passwords for different resources is important.<p>What do you all think?