When I typed

1
git push origin dev

today on a remote computer, some error message showed up.

1
2
Support for password authentication was removed on August 13, 2021. Please use
a personal access token instead.

See the blogs by 廖雪峰

1
2
3
# if you don't know what it is doing, type:
# ssh-keygen --help
ssh-keygen -t rsa -C "youremail@example.com"
f82d70ba7ca4e38232bd8920ab6bb96f.png
5ac19470ac08f05fd351241bc0ca8ccc.png

This is what a public key looks like

f383afc50ff8b102369aa80ceb4cdcf1.png

If such error occurs:

1
fatal: unable to access 'https://github.com/xxx.git/': OpenSSL SSL_read: Connection was reset, errno 10054

set the term sslVerify to false.

1
git config --global https.sslVerify "false"

Error 443

1
fatal: unable to access 'https://github.com/xxx.git/': Failed to connect to github.com port 443: Timed out

The problem with proxy...

Install v2ray...

1
2
git config --global https.proxy http://127.0.0.1:1081
git config --global http.proxy http://127.0.0.1:1081