# 会自动在.ssh目录生成known_hosts文件把私钥配置进去 jack@jack-PC MINGW64 ~/.ssh $ ssh -T git@github.com The authenticity of host 'github.com (13.252.177.222)' can't be established. RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'github.com,13.252.177.222' (RSA) to the list of known hosts. Hi jiangleiundo! You've successfully authenticated, but GitHub does not provide shell access.
jack@jack-PC MINGW64 ~/.ssh $ ssh -T git@gitee.com The authenticity of host 'gitee.com (120.55.222.22)' can't be established. ECDSA key fingerprint is SHA256:FQGC9Kn/eye1W8icdBgrQp+KkGYoFgbVr17bmjey0Wc. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'gitee.com,120.55.222.22' (ECDSA) to the list of known hosts. Bad packet length 3643771916. ssh_dispatch_run_fatal: Connection to 120.55.222.22 port 22: message authentication code incorrect
jack@jack-PC MINGW64 ~/.ssh $ ssh -T git@gitee.com Hi 小方块! You've successfully authenticated, but GITEE.COM does not provide shell access.