Windows10下github生成SSH公钥

1. 安装git,从程序目录打开 “Git Bash” ,
2. ssh-****** -t rsa -C "[email protected]" ,[email protected]是自己github账号
3. 提醒你输入key的名称,你可以不用输入,一路回车,就OK了;
4. 一般会在用户目录下生成三个文件,例如我生成的文件在C:\Users\SmallHacker\.ssh目录下;
5,进入该用户的目录下用命令cat id_rsa.pub打开文件并复制里面的全部内容;
6,打开github账号–>Settings–>SSH and GPG keys–>New SSH key,并把复制好的内容全部粘贴进去" ;

Windows10下github生成SSH公钥
Windows10下github生成SSH公钥
Windows10下github生成SSH公钥
Windows10下github生成SSH公钥

相关文章:

  • 2021-10-05
  • 2021-06-05
  • 2021-05-30
  • 2022-12-23
  • 2021-04-27
  • 2021-07-09
  • 2021-05-18
  • 2021-05-26
猜你喜欢
  • 2021-12-03
  • 2021-09-23
  • 2021-05-19
  • 2022-01-13
  • 2021-08-17
相关资源
相似解决方案