GIT 免密登录

  1. 生成一个私钥(id_rsa)和公钥(id_rsa.pub)
ssh-keygen -t rsa
  1. 把密钥搞到服务器上去
ssh-copy-id -i /c/Users/GE62/.ssh/id_rsa.pub [email protected]

你可能感兴趣的:(GIT 免密登录)