git 公钥生成配置

 

 

1.查看git公钥   

 

cat ~/.ssh/id_rsa.pub

ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAklOUpkDHrfHY17SbrmTIpNLTGK9Tjom/BWDSUGPl+nafzlHDTYW7hdI4yZ5ew18JH4JW9jbhUFrviQzM7xlELEVf4h9lFX5QVkbPppSwg0cda3Pbv7kOdJ/MTyBlWXFCR+HAo3FXRitBqxiX1nKhXpHAZsMciLq8V6RjsNAQwdsdMFvSlVK/7XAt3FaoJoAsncM1Q9x5+3V0Ww68/eIFmb1zuUFljQJKprrX88XypNDvjYNby6vw/Pb0rwert/EnmZ+AW4OZPnTPI89ZPmVMLuayrD2cE86Z/il8b+gw3r3+1nKatmIkjn2so1d01QraTlMqVSsbxNrRFi9wrf+M7Q== [email protected]

或者进入C:\Users\Administrator\.ssh

打开id_rsa.pub

 

2.生成git公钥

ssh-keygen -t rsa -C "[email protected]"

 

3.配置git公钥

git 公钥生成配置_第1张图片

点击增加秘钥,讲生成的秘钥粘贴到输入框!

 

 

 

 

 

你可能感兴趣的:(IDEA)