我对编码还不熟悉,我的任务是设置一个新的SSH密钥并连接到GitHub。我遵循了所有的步骤,当我检查我是否成功地配对时,我得到了这样的信息:
$ ssh -T git@github.com
The authenticity of host 'github.com (140.82.121.4)' 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 indiataylor1! You've successfully authenticated, but GitHub does not provide shell access.
谁能给我指明正确的方向?
尝试创建一个新的SSH密钥并从头开始。
发布于 2022-10-28 05:50:03
你可以走了。
只有在第一个SSH连接上才能看到"ED25519密钥指纹“消息,而您的消息确实与官方GitHub的匹配。
如果您再次尝试ssh -T git@github.com
,您只会看到:
Hi indiataylor1!
You've successfully authenticated, but GitHub does not provide shell access.
从这里开始,使用以下方法克隆您的存储库:
git clone git@github.com:You/yourRepository
https://stackoverflow.com/questions/74220768
复制相似问题