Should I generate new SSH key pair for every workstation or reuse a single one?

前端 未结 2 876
萌比男神i
萌比男神i 2021-02-04 08:57

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 uplo

相关标签:
2条回答
  • 2021-02-04 09:16

    Yes you should generate a new ssh key for every workstation. Also make sure to specify a passphrase for your private key and keep it safe. Never share it.

    0 讨论(0)
  • 2021-02-04 09:31

    You should generate a pair of keys for each workstation. This way, if a key is compromised you will be able to revoke permission for that key only, without affecting other workstations

    0 讨论(0)
提交回复
热议问题