ssh-key客户端配置

由于github是通过ssh连接的,为方便使用,在本地创建一个连接:

1、登录https://github.com注册github账号

2、登录https://git-scm.com/downloads下载github,且安装

3、桌面右键,进入Git Bash Here

 

4、配置sshkey

生成key:ssh-keygen -t rsa -C "邮箱地址"     然后一路回车

 

.ssh/id_rsa.put路径下查看公钥且复制

5、进入github官网,新增ssh key

 

原文地址:https://www.cnblogs.com/youlanda/p/10978716.html