Hexo推送提示输入账号密码问题

This is an article that was created 657 days ago, and the information may have evolved or changed.

今天推送 Github Pages 博客发现需要输入账号密码,网页端检查SSH Keys 和本地检查公钥pub都没问题

最后通过搜索引擎助力,修改 https 方式为 git 方式,成功推送

方法:修改博客目录下的_config.yml文件配置(不是主题目录下的配置文件)

1
2
3
4
5
6
7
8
9
# Deployment
## Docs: https://hexo.io/docs/one-command-deployment
deploy:
type: git
# repo: https://github.com/kiraster/kiraster.github.io.git
# 20221201发现使用https方式需要输入验证账号密码,修改为git方式后正常推送
repo: git@github.com:kiraster/kiraster.github.io.git
branch: master

自动备份Hexo源文件到私有仓库 H3C 防火墙(v7)提取导出安全策略至表格
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×