cd ~/.ssh
ssh-keygen -t rsa -C "your email"
ssh-add rsa file
ssh-agent bash (if necessary)
ssh-agent -s (if necessary)
vim config
Host gitee.com
IdentityFile ~/.ssh/rsa file
User your email
https://blog.csdn.net/talice/article/details/79830153
cd ~/.ssh
ssh-keygen -t rsa -C "your email"
ssh-add rsa file
ssh-agent bash (if necessary)
ssh-agent -s (if necessary)
vim config
Host gitee.com
IdentityFile ~/.ssh/rsa file
User your email
https://blog.csdn.net/talice/article/details/79830153
相关文章: