配置ssh密钥,并在Git中使用SSH协议访问Github
今天换完新系统之后在github添加ssh,记录一下
一 配置ssh密钥
1.1 检查是否存在SSH
ls -al ~/.ssh:如果存在说明有,如果不存在说明你没有
1.2 生成SSH Key
ssh-keygen -t rsa -C "your_email@example.com"
Enter file in which to save the key (/home/qy/.ssh/id_...
原创
2019-04-24 21:51:14 ·
599 阅读 ·
0 评论