为编程爱好者分享易语言教程源码的资源网

网站首页 > 网络编程 > 其它综合 正文

ssh-keygen的-C后面的邮箱有什么用?

三叶资源网 2020-09-11 14:16:46 其它综合 1382 ℃ 0 评论

每次生成密钥,看到国内的博客,都要求输入邮箱。但不知道意义何在。

后来在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.
所以这个注释你可以输入任何内容,很多网站和软件用这个注释作为密钥的名字

来源:三叶资源网,欢迎分享,公众号:iisanye,(三叶资源网⑤群:21414575

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

百度站内搜索
关注微信公众号
三叶资源网⑤群:三叶资源网⑤群

网站分类
随机tag
自动更新SysDateTimePick32E2EE分组框美化彗星小助手异步服务总结应用API快看点视频上传炫彩设计器工程桌面透明背景时钟unicode字符京医通视频上传HttpServer1.1断点下载QQ邮箱Hook加载皮肤SMTP发信HTTP服务端
最新评论