赞
踩
ubuntu自带命令 sudo apt-get install ***
sudo apt-get install git
用户名
git config --global user.name XXXXXXX
github邮箱
git config --global user.name XXXXX@xxx.com
ssh-keygen -t rsa -C XXXXX@xxx.com
中间可一直回车跳过
用cat命令查看
cat /home/ubuntu/.ssh/id_rsa.pub
复制所有的返回内容
SETTING=》SSH and GPG keys=》New SSH key
选择Authentication Key,粘贴所复制的 id_rsa.pub
内容
Add SSH key
ubuntu@VM-8-12-ubuntu:~/.ssh$ ssh -T git@github.com
Hi SAY4EVER729! You've successfully authenticated, but GitHub does not provide shell access.
绑定成功
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。