Skip to content

ssh连接GitHub

生成SSH密钥对

ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
cat ~/.ssh/id_rsa.pub

添加至https://github.com/settings/keys 最后,运行以下命令来测试连接:

ssh -T git@github.com