我可以创建多个ssh密钥,并将其重命名为用户友好名称,以便知道哪个密钥用于哪个网站等。
这样安全吗?
例如:
github_id_rsa
github_id_rsa.pub
..
...
连接时如何知道要检查哪个键?
现在在我的计算机上,当我查看known_hosts时,它们似乎在主机名之后都具有相同的密钥?
1
跨站点重复:在一个客户端上使用多个ssh私钥的最佳方法
—
slhck 2011年
另外,已知的主机密钥肯定不相同,只需查看每个主机的行尾即可。
—
slhck 2011年