Support for password authentication was removed on August 13, 2021
When using git upload to push the local warehouse to the remote server, the following problems occur:
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Inaccessible 'https://github.com/LiuXianghai-coder/Study.git/':The requested URL returned error: 403
Since August 13, 2021, the authentication method of user name + password
in GitHub has been removed and can only be authenticated by personal access code.
-
-
- first, you need to create a personal access code, that is,
persona access token
first, enter the GitHub main interface: -
-
- select “meeting”, enter the setting interface:
-
- select “developer meetings” in the navigation column on the left, Enter the developer settings page
-
- select “personal access tokens” and click “generate new token”:
-
- you will see the following interface:
-
- enter “note” and select “expiration”. You can define the effective time by yourself. If there are no special requirements, check all the check boxes below, and then go to the bottom of the page and click “generate token” to generate the corresponding personal access code
-
- now you can see the generated personal access code. Copy it and save it to a file
-
-
- use
personal access token
-
-
- for authentication
-
- execute the push command again. At this time, you will be prompted to enter the user name. Just enter it normally; After entering the user name, you will be prompted to enter the password. Here, you need to enter the personal access token generated before. You can copy it directly
-
- then you will find that you can push to the local warehouse
Read More:
- [Solved] GitHub Error: remote: Support for password authentication was removed on August 13, 2021.
- [Solved] Git push Error: remote: Support for password authentication was removed on August 13, 2021.
- Git push Submit to Remote Error: “remote: Support for password authentication was removed on August 13, 2021.“
- [Solved] error: password authentication failed for user “postgres”
- [Solved] volatile was removed and now has no effect. Use `with torch.no_grad():` instead.
- Mysql5.7.18.1 Error 1054 (42S22): Unknown Column’password’ In’field List’ When Changing User Password
- Cmake Setting Support C++11 This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options
- [Solved] removeerror: ‘requests’ is a dependency of CONDA and cannot be removed from
- Git pull code error fatal: authentication failed fo
- [Solved] FileUploadException: the request was rejected because no multipart boundary was found
- DB::Exception: test: Authentication failed: [How to Solve]
- [Solved] TortoiseGitPlink Fatal Error: No supported authentication methods available (server sent: publi
- Mongodb error: authentication failed [How to Solve]
- Error: Your CLT does not support macOS 11.6 [How to Solve]
- [Solved] RemoveError: ‘setuptools’ is a dependency of conda and cannot be removed from conda’s operating en
- [Solved] SecureCRT error: keyboard-interactive authentication with the ssh2 server failed
- Vagrant up Error: Warning: Authentication failure. Retrying…[How to Solve]
- [Solved] Redis executes the monitor command error: noauth authentication required
- How to Solve RemoveError: setuptools is a dependency of conda and cannot be removed from conda
- Hash_map is deprecated and will be REMOVED. Please use unordered_map.