Featured image of post 如何快速获取ssh Key密钥

如何快速获取ssh Key密钥

如何快速获取ssh Key密钥

正文

  1. 在git bash执行一下指令

1
2
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
  1. 生成shh key

    1
    
    ssh-keygen -t rsa
    
  2. 一路回车就行

  3. 默认会生成在目录

    1
    
    C:\Users\用户名\.ssh
    
  4. 获取生成目录下id_rsa.pub里的密钥就能使用了

Licensed under CC BY-NC-SA 4.0