15

This is a newbie question from a Windows guy but when I work with Git or other software relying on (Open)SSH, should I generate a new SSH key for every workstation and then upload the public key to GitHub / BitBucket etc. or should I be reusing some previously generated one? Or does it matter at all?

4

2 回答 2

12

您应该为每个工作站生成一对密钥。这样,如果密钥被泄露,您将能够仅撤销对该密钥的权限,而不会影响其他工作站

于 2012-04-07T13:39:09.960 回答
0

是的,您应该为每个工作站生成一个新的 ssh 密钥。还要确保为您的私钥指定密码并确保其安全。永远不要分享它。

于 2012-04-07T13:35:47.327 回答