vim ~/.git-credentials
https://user.name:user.password@github.com
##windows下
C:UsersAdministrator.ssh
生成秘钥对(id_rsa、id_rsa.pub)放入此目录
将公钥id_rsa.pub放到目标的~/.ssh/authorized_keys文件下即可