ssh: connect to host github.com port 22: Connection refused fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists. [41mFATAL[49m { err: Error: Spawn failed at ChildProcess.<anonymous> (D:\XXX\node_modules\hexo-util\lib\spawn.js:51:21) at ChildProcess.emit (node:events:390:28) at ChildProcess.cp.emit (D:\XXX\node_modules\cross-spawn\lib\enoent.js:34:29) at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) { code: 128 } } Something's wrong. Maybe you can find the solution here: %s [4mhttps://hexo.io/docs/troubleshooting.html[24m
出现Hi XXX! You’ve successfully authenticated, but GitHub does not provide shell access.说明连接成功了
1 2 3 4 5 6
The authenticity of host '[ssh.github.com]:443 ([20.205.243.160]:443)' can't be established. ED25519 key fingerprint is SHA256:xxxxxxxxxxx. This key is not known by any other names. 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 XXX! You've successfully authenticated, but GitHub does not provide shell access.