I just installed ubuntu and would like to set its rsa keys up with bitbucket/github. When I ssh-keygen the keys are generated as they should be
我刚刚安装了ubuntu,并希望用bitbucket / github设置其rsa密钥。当我使用ssh-keygen时,密钥会按原样生成
ssh-rsa AA...yBEz3pLL georgemauer@ubuntu
which is perfectly usable except the username part. In every rsa key I've generated previously, the username section read my email address:
这是完全可用的,除了用户名部分。在我之前生成的每个rsa密钥中,用户名部分读取了我的电子邮件地址:
ssh-rsa AA...yBEz3pLL gmylastname@gmail.com
No, it's not a major impediment but if I don't get this right it will drive me crazy. How, do I generate with rsa keys with an email username of my choice?
不,这不是一个主要的障碍,但如果我没有做到这一点,它会让我发疯。如何使用我选择的电子邮件用户名生成rsa密钥?
1 个解决方案
#1
15
Use the -C
option to provide a new comment with your key.
使用-C选项为您的密钥提供新评论。
#1
15
Use the -C
option to provide a new comment with your key.
使用-C选项为您的密钥提供新评论。