【发布时间】:2022-09-24 20:58:40
【问题描述】:
我按照此文档的步骤操作:https://circleci.com/docs/add-ssh-key#circleci-cloud-or-server-3-x
我生成了我的密钥:
ssh-keygen -m PEM -t rsa -C \"myname@myemail.com\"
我复制了.ssh/id_ed25519 的内容,进入项目设置> SSH Keys > Additional SHH Keys,并粘贴了我的Key 的内容。
但是,当我尝试 ssh 时,我收到以下错误:
ssh -p 54782 x.x.x.130
The authenticity of host \'[x.x.x.130]:54782 ([x.x.x.x]:54782)\' can\'t be established.
ED25519 key fingerprint is SHA256:xxx
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added \'[x.x.x.130]:54782\' (ED25519) to the list of known hosts.
myname@x.x.x.130: Permission denied (publickey).
我会感谢你的帮助。谢谢