git配置ssh
$ git config --global user.name "yourname"
$ git config --global user.email "youremail"
配置ssh $ ssh-keygen -t rsa -C "youremail"
$ eval `ssh-agent -s` 执行agent后才可add
$ ssh-add
ssh连接出现The authenticity of host can't be established: 原因 Permanently added '172.16.9.10' (RSA) to the list of known hosts.
解决方法:ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
耐得住寂寞,守得住繁华