GitHub ssh 方式拉取代码

1、生成 ssh 密钥:

ssh-keygen -C 'xxxxxx'

2、将目录 /root/.ssh 下 .pub 后缀文件内容添加到 GitHub:

 

 

 

 Enjoy it !

原文地址:https://www.cnblogs.com/daizhongxing/p/13100432.html