一、多密钥配置
1.1 生成密钥
如果是 Windows 系统,建议使用安装 Git 时自带的 git bash
终端。
假设你有三个账号,
- 一个是 Gitee 的,登录名为 copillar
- 一个是 Github 的登录名为 wholegospel
- 一个是 Github 的登录名为 fengxinbao
ssh-keygen -t rsa -C "co@gmail.com" -f ~/.ssh/id_rsa_gitee_cossh-keygen -t rsa -C "wg@gmail.com" -f ~/.ssh/id_rsa_github_wgssh-keygen -t rsa -C "fxb@gmail.com" -f ~/.ssh/id_rsa_github_fxb
1.2 添加密钥到 ssh-agent 中
Git 默认读取的文件文件名为 id_rsa
,因此我们需要将生成的密钥添加到 ssh-agent
中。
添加密钥地址到 ssh-agent:
$ ssh-add ~/.ssh/id_rsa_gitee_co$ ssh-add ~/.ssh/id_rsa_github_wg$ ssh-add ~/.ssh/id_rsa_github_fxb
如果出错,可以使用这条命令,再执行上方代码:
$ ssh-agent bash
1.3 编写配置文件
编写 config 文件(~/.ssh
目录下),若没有则自行新建。
Recently I was reading an article about a cool project that intends to have a neural network create songs of the late club of the 27 (artists that have tragically died at age 27 or near, and in the height of their respective careers), artists such as Amy Winehouse, Jimmy Hendrix, Curt Cobain and Jim Morrison.
The project was created by Over the Bridge, an organization dedicated to increase awareness on mental health and substance abuse in the music industry, trying to denormalize and remove... read more
The omnipresence of technology nowadays has made it commonplace to read news about AI, just a quick glance at today’s headlines, and I get:
- This Powerful AI Technique Led to Clashes at Google and Fierce Debate in Tech.
- How A.I.-powered companies dodged the worst damage from COVID
- AI technology detects ‘ticking time bomb’ arteries
- AI in Drug Discovery Starts to Live Up to the Hype
- Pentagon seeks commercial solutions to get its data ready for AI
Topics from business, manufacturing, supply chain, medicine and biotech and even defense are covered in those news headlines, definitively the... read more