windows 小知识---windows下生成公钥和私钥

  1. 首先Windows操作系统需要安装git.
  2. 安装完成后,再到任意的文件夹内,点击右键.选择git bash here
  3. 打开之后,输入ssh-keygen,一路按enter键.
  4. 全部结束后,再到C:\Users\Administrator\.ssh 文件夹下,打开id_rsa.pub文件,复制文件内的公钥.

注意:.ssh是隐藏文件,需开启文件显示.

猜你喜欢

转载自www.cnblogs.com/chenych/p/10986659.html