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

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

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

三叶资源网 2020-09-11 14:16:46 其它综合 1629 ℃ 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
订单监控DLL函数查看器日期时间型任务管理器windows 98风格卡盟管理系统高仿2014QQ界面Access链接表内核读写内存画板源码API创建时钟PHP等待进程结束粒子发射器迅雷网站登录go agent配置拼多多滑块验证拖放支持库go语言适合写游戏吗excel表
最新评论