git ssh 生成私钥和公钥

  一、设置git的用户名和邮箱 git

  git config --global user.name "toloy"ssh

  git config --global user.email "274696224@qq.com"it

  二、查看是否有ssh密钥email

  cd ~/.sshrsa

  三、生成密钥qq

  git-keygen -t rsa -C "274696224@qq.com"mail