为编程爱好者分享易语言教程源码的资源网
雨云服务器 5 折购买
雨云服务器 · 5 折购买
稳定高速 · 新老用户同享 · 点击立即抢购
立即购买
AD广告招租 了解广告位详情 ›

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

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

三叶资源网 2020-09-11 14:16:46 其它综合 1681 ℃ 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,(三叶资源网⑤群:806035103 )

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

欢迎 你 发表评论:

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

网站分类
随机tag
多线程例子字库验证码识别多线程采集网易登录服务器go语言适合写游戏吗HttpServer1.1按键精灵基础练习windows安全机制APIHTML5布局之路websocket协议易LOGO支持库编辑框输入提示获取登陆QQ异或校验十进制四级联动正则表达式贪吃蛇游戏fiddlercoreapi
最新评论
雨云服务器 · 5 折购买
稳定高速 · 新老用户同享 · 点击立即抢购
立即购买