美文网首页
生成公钥

生成公钥

作者: Mr_Zhou | 来源:发表于2018-12-12 17:16 被阅读0次

1、ssh-keygen -t rsa -C "xxx" (x x x 为创建时的邮箱)

2、提示出:Enter file in which to save the key (/Users/jumpapp1/.ssh/id_rsa): jump(公钥保存路径)

Generatingpublic/privatersa key pair.Enter file in which to save the key (/Users/abc/.ssh/id_rsa): (要求输入保存路径,也可不输入)

3、输入两次密码(可以直接回车,不用输入)

Enter passphrase (emptyforno passphrase): 

Enter same passphrase again:

4、cat jump.pub (查看公钥)

5、复制

相关文章

网友评论

      本文标题:生成公钥

      本文链接:https://www.haomeiwen.com/subject/mmephqtx.html