每次生成密钥,看到国内的博客,都要求输入邮箱。但不知道意义何在。 后来在stackOverFlow上看到这个答案。 The email is only optional field to identify the key. 邮箱仅仅是识别用的key When you create the ssh you type (for example): ssh-keygen -t rsa -C “any comment can be here” 当你创建ssh的时候 -t = The type of the key to generate 密钥的类型 -C = comment to identify the key 用于识别这个密钥的注释 So the Comment is for you only and you can put anything inside. Many sites and software are using this comment as the key name. 所以这个注释你可以输入任何内容,很多网站和软件用这个注释作为密钥的名字 ———————————————— 版权声明:本文为CSDN博主「BaldWinf」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。 原文链接:https://blog.csdn.net/u011118321/article/details/78516303