Git CLI消息-尝试克隆repo
我正在尝试将一个repo克隆到我的工作计算机上,这样我就可以编写react教程,当我说repo的git clone address时,我得到以下消息:Git CLI消息-尝试克隆repo,git,command-line-interface,git-clone,Git,Command Line Interface,Git Clone,我正在尝试将一个repo克隆到我的工作计算机上,这样我就可以编写react教程,当我说repo的git clone address时,我得到以下消息: Cloning into 'ReduxSimpleStarter'... Warning: Permanently added the RSA host key for IP address '145.40.335.302' to the list of known hosts. Permission denied (publickey). fa
Cloning into 'ReduxSimpleStarter'...
Warning: Permanently added the RSA host key for IP address '145.40.335.302' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
有人能解释一下这些台词是什么意思吗 这表示您正在使用ssh url,并且您的公钥(在
~/.ssh/id\u rsa.pub
中)未在远程服务器~/.ssh/authorized\u keys
中注册
如果这是一台专用服务器,请咨询其管理员,以便添加密钥
您可以通过以下方式进行测试:
ssh -Tv <user>@my.server
ssh-Tv@my.server
你能告诉我更多的工作原理和设置方法吗?这是我在输入你建议的命令时得到的结果:OpenSSH_9.4p1,LibreSSL 2.5.0 debug1:读取配置数据/etc/ssh/ssh_config ssh:无法解析主机名my.server:提供了nodename或servname,或者未知。如何检查我的服务器名?@ivonnerrero您是否用实际服务器替换了“my.server”?服务器是github.com吗?