Git @ osc ssh configuration first generates the SSHKeys1ssh-keygen-trsa-C & quot; 304279767 @ qqcom & quot; then add the path of the key file we saved to: etcsshssh_config to ensure that Keys are correctly added on git @ OSC: 1ssh-add-l22048a0: dd: Git @ osc ssh configuration first generate the SSH Keys 1ssh-keygen-t rsa-C "304279767@qq.com" and then add the path of the key file we saved: /etc/ssh/ssh_config make sure to add Keys correctly on git @ OSC: 1ssh-add-l2 #2048 a0: dd: 42: 3c: 5a: 9d: e4: 2a: 21: 52: 4e: 78: 07: 6e: c8: 4d/Users/you /. ssh/id_rsa (RSA) if the output is not like this, run: ssh-agent bash and then run: ssh-add path/to/key should be okay and finally run: ssh-T git@git.oschina.net if output: Welcom to Git @ OSC, The configuration is complete!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service