ubuntu config sshkey

配置ssh-key这种东西,真心不想记住,干脆自己整一份,供日后参考。


 git config --global user.name "yourname"
 git config --global user.email "yourname@gmail.com"
 ssh-keygen -t rsa -C "yourname@gmail.com"
 cat ~/.ssh/id_rsa.pub