1.ls -al ~/.ssh
2.ssh-keygen -t rsa -b 4096 -C "[email protected]"
3.ssh-agent -s
eval $(ssh-agent -s)
ssh-add ~/.ssh/id_rsa
4.cat /root/.ssh/id_rsa.pub copy content to github
5.ssh -T [email protected]
时间: 2024-12-29 12:09:27
1.ls -al ~/.ssh
2.ssh-keygen -t rsa -b 4096 -C "[email protected]"
3.ssh-agent -s
eval $(ssh-agent -s)
ssh-add ~/.ssh/id_rsa
4.cat /root/.ssh/id_rsa.pub copy content to github
5.ssh -T [email protected]