在Linux下生成git秘钥

1.进入.ssh目录

cd .ssh/

Linux下生成git秘钥

2.执行

ssh-keygen -t rsa -C"你的邮箱"

3.一路回车即可

Linux下生成git秘钥

 

 注意:

ssh与-keygen之间没有空格!

其它:

可以通过命令

find / -name id_rsa.pub

查看秘钥的位置

相关文章:

  • 2021-04-12
  • 2021-05-02
  • 2021-12-03
  • 2022-01-02
  • 2021-11-07
  • 2021-07-07
猜你喜欢
  • 2022-01-27
  • 2022-01-13
  • 2021-08-25
  • 2021-06-17
  • 2021-05-27
  • 2022-12-23
  • 2021-06-26
相关资源
相似解决方案