Github Unsupport PassWord Authentication

Sence

1
2
3
4
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: unable to access 'https://github.com/xxx/xxx.github.io.git/': The requested URL returned error: 403
Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html

Solution

  • Hexo => _config.yaml

    1
    2
    3
    4
    5
    deploy:
    type: git
    # repo: https://github.com/OrekiYuta/OrekiYuta.github.io.git
    repo: git@github.com:OrekiYuta/orekiyuta.github.io.git
    branch: master
  • 👉 Github SSH

< - あの日途切れてしまった言葉を 繋ぎ留めたいだけ - >