Using Github for Windows to work with own private Git through SSH

前端 未结 4 502
轮回少年
轮回少年 2021-01-30 23:43

Right now, I\'m using msysgit to work with my own private repositories stored on a ec2 Amazon Cloud Server using SSH.

Until now, I\'ve been able to successfully connect

4条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-31 00:23

    Since GitHub for Windows also work with https url, note that since August 2013, you also can use an OAuth tokens for authentication.
    See "Better password security in GitHub for Windows"

    Prior to this release the application would encrypt and store your password. Since the application also registers itself as your Git credential provider, the app would provide your credentials in clear text to Git.exe whenever it asked for them.

    With this release, when you log in with your username and password, the application registers itself on GitHub.com as an Authorized application and receives an OAuth token that it stores instead of your password. This is similar to how other applications that integrate with GitHub work such as Travis-CI.

提交回复
热议问题