SSH settings for git under Windows

Source: Internet
Author: User

GIT http://www.tuicool.com/articles/A3Mn6f

Use scene resiliency

Git push-u Origin master error

Reference official documentation

Https://confluence.atlassian.com/bitbucket/use-the-ssh-protocol-with-bitbucket-cloud-221449711.html

Perform

ssh-keyscan-t RSA bitbucket.org

Error already exists after getting SSH key

Fixed to

Ssh-keygen-t rsa-c "[Email protected]"

Windows Save location

C:\Users\Excuse\.ssh

GIT bash command CD C:/users/excuse/.ssh/newkey

Copy the generated pub key to GitHub to create a key

Save after execution

Git push-u Origin master error

Permission denied (PublicKey).
Fatal:could not read from remote repository.

Execute Ssh-add Error

Could not open a connection to your authentication agent.

Perform eval ' ssh-agent '

Ok

Execute Ssh-add ~/.ssh/tony

Ok

Executive Ssh-add-l

Ok

Perform

Git push-u Origin Master

Ok

Reference

Http://blog.chinaunix.net/uid-22355887-id-3342499.html

Http://www.cnblogs.com/sheldonxu/archive/2012/09/17/2688281.html

Http://www.linuxidc.com/Linux/2015-11/125435.htm

http://blog.itpub.net/25851087/viewspace-1262468/

http://www.jianshu.com/p/31cbbbc5f9fa/

Http://jingyan.baidu.com/article/a65957f4e91ccf24e77f9b11.html

http://www.oschina.net/question/54100_10489

SSH settings for git under Windows

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.