1、生成SSH Key
ssh-keygen -f ~/.ssh/lulu_key -t rsa -b 4096 -C "xxx@xxx.com"
cd ~/.ssh/
vim config
Host xxx_git
HostName xxx.xxx.xx.xxx
User git
IdentityFile /root/.ssh/xxx_key
git remote -v
origin (fetch)
origin (push)
git remote set-url origin git@xxx_git:bo/project_name.git
git pull