
PS E:\wwwroot\refactoring> git push -u origin main
fatal: unable to access 'https://github.com/shuijingwan/refactoring.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version


PS E:\wwwroot\refactoring> git --version
git version 1.9.5.msysgit.1

PS C:\WINDOWS\system32> git --version
git version 2.36.1.windows.1

PS E:\wwwroot\refactoring> git push -u origin main
fatal: unable to access 'https://github.com/shuijingwan/refactoring.git/': OpenSSL SSL_read: Connection was reset, errno 10054

PS E:\wwwroot\refactoring> git push -u origin main
fatal: unable to access 'https://github.com/shuijingwan/refactoring.git/': Failed to connect to github.com port 443 after 21030 ms: Timed out
PS E:\wwwroot\refactoring> git push -u origin main
fatal: unable to access 'https://github.com/shuijingwan/refactoring.git/': OpenSSL SSL_read: Connection was reset, errno 10054
PS E:\wwwroot\refactoring> git push -u origin main
fatal: 鍝嶅簲鐘舵€佷唬鐮佷笉鎸囩ず鎴愬姛: 401 (Unauthorized)銆?Username for 'https://github.com': shuijingwan
Password for 'https://shuijingwan@github.com':
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: Authentication failed for 'https://github.com/shuijingwan/refactoring.git/'
PS E:\wwwroot\refactoring>

PS E:\wwwroot\refactoring> git push -u origin main
fatal: unable to access 'https://github.com/shuijingwan/refactoring.git/': Failed to connect to github.com port 443 after 21030 ms: Timed out
PS E:\wwwroot\refactoring> git push -u origin main
fatal: unable to access 'https://github.com/shuijingwan/refactoring.git/': OpenSSL SSL_read: Connection was reset, errno 10054
PS E:\wwwroot\refactoring> git push -u origin main
fatal: 鍝嶅簲鐘舵€佷唬鐮佷笉鎸囩ず鎴愬姛: 401 (Unauthorized)銆?Username for 'https://github.com': shuijingwan
Password for 'https://shuijingwan@github.com':
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: Authentication failed for 'https://github.com/shuijingwan/refactoring.git/'
PS E:\wwwroot\refactoring>

$ ssh -T git@github.com
The authenticity of host 'github.com (20.205.243.166)' can't be established.
ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
Hi shuijingwan! You've successfully authenticated, but GitHub does not provide shell access.

Administrator@PC MINGW64 /e/wwwroot/refactoring (main)
$ git init
Initialized empty Git repository in E:/wwwroot/refactoring/.git/
Administrator@PC MINGW64 /e/wwwroot/refactoring (master)
$ git add README.md
Administrator@PC MINGW64 /e/wwwroot/refactoring (master)
$ git commit -m "first commit"
[master (root-commit) ba74a0c] first commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 README.md
Administrator@PC MINGW64 /e/wwwroot/refactoring (master)
$ git branch -M main
Administrator@PC MINGW64 /e/wwwroot/refactoring (main)
$ git remote add origin https://xxx@github.com/shuijingwan/refactoring.git
Administrator@PC MINGW64 /e/wwwroot/refactoring (main)
$ git push -u origin main
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Writing objects: 100% (3/3), 239 bytes | 119.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/shuijingwan/refactoring.git
* [new branch] main -> main
branch 'main' set up to track 'origin/main'.
Administrator@PC MINGW64 /e/wwwroot/refactoring (main)
$
需要长期技术维护或远程问题排查?
我是拥有 15+ 年经验的 PHP / Go 后端工程师,长期关注已有系统维护、Bug 修复、性能优化、服务器排查、WordPress 网站维护和小功能迭代。
如果你的项目遇到以下情况,可以先从一次小问题排查开始合作:
- ✅ PHP / Laravel / Yii2 老项目无人维护
- ✅ Go / Gin 后端接口需要排查或优化
- ✅ WordPress 网站访问慢、报错或插件冲突
- ✅ Nginx / MySQL / Redis / Linux 服务器异常
- ✅ CDN / Cloudflare / DNS / HTTPS 配置问题
- ✅ 需要长期远程技术支持或兼职维护
更多介绍请查看:关于我 & 合作
微信:13980074657
邮箱:shuijingwanwq@gmail.com
Telegram:@shuijingwan
GitHub:https://github.com/shuijingwan

发表回复