duanzhengqiang@duanzhengqiang-ubuntu:~/blog$ ssh -T -p 443 git@ssh.github.com The authenticity of host '[ssh.github.com]:443 ([20.205.243.160]: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:1: [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 strongduanmu! You've successfully authenticated, but GitHub does not provide shell access.
为了不影响工作效率,尝试将 SSH 替换为 HTTPS,参考 Managing your personal access tokens,点击个人头像下的 Settings,然后选择 Developer settings -> Personal access tokens -> Fine-grained personal access tokens Beta -> Generate new token,生成 token 如下图所示。