请确认您有正确的访问权限并且仓库存在。 FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html Error: Spawn failed at ChildProcess.<anonymous> (/home/drifting/桌面/tools/hexo/blog-demo/node_modules/hexo-deployer-git/node_modules/hexo-util/lib/spawn.js:51:21) at ChildProcess.emit (node:events:519:28) at ChildProcess._handle.onexit (node:internal/child_process:293:12)
出现了这个问题,解决方案是
1 2 3 4
(base) ┌─[✗]─[drifting@drift1ng]─[~/桌面/tools/hexo/blog-demo] └──╼ $ssh -T git@github.com kex_exchange_identification: Connection closed by remote host Connection closed by 20.27.177.113 port 22
(base) ┌─[✗]─[drifting@drift1ng]─[~/桌面/tools/hexo/blog-demo] └──╼ $ssh -T -p 443 git@ssh.github.com The authenticity of host '[ssh.github.com]:443 ([20.27.177.118]:443)' can't be established. ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU. This host key is known by the following other names/addresses: ~/.ssh/known_hosts:12: [hashed name] Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '[ssh.github.com]:443' (ED25519) to the list of known hosts. Hi Moyu52! You've successfully authenticated, but GitHub does not provide shell access.
永久配置 SSH 使用 443 端口,编辑 SSH 配置文件:
1
gedit ~/.ssh/config
添加以下内容:
1 2 3 4 5
Host github.com Hostname ssh.github.com Port 443 User git IdentityFile ~/.ssh/id_ed25519 # 或 id_rsa(根据你的密钥类型)
保存后测试:
1
ssh -T git@github.com
现在就可以连接成功了
谷歌账号被封
如果账号被封了可以使用下面这个来进行解封
1 2 3 4 5
Greetings,
I am writing to inform you that my account is registered under the email address xxxx@gmail.com. As a United States user located in China, I find it necessary to employ a VPN proxy in order to access Google products. Regrettably, due to the instability and frequent toggling of the VPN, my account has been flagged and subsequently suspended. This account holds significant importance for me, and I sincerely hope that you could provide assistance in resolving this matter. Your help in this regard would be greatly appreciated.