[英]Git error Permission denied (publickey), couldn't paste publickey
Upon git pull on Mac terminal to GitHub, it returns an error showing permission denied (public key)
git在Mac终端上将git拉到GitHub时,它返回一个错误,
showing permission denied (public key)
I've looked through this earlier stack overflow thread but upon 我已经看过了这个较早的堆栈溢出线程,但是
cat id_rsa.pub | bcopy
it shows no such file or directory
. 它显示
no such file or directory
。 what should i do? 我该怎么办?
upon
cat id_rsa.pub | bcopy
在
cat id_rsa.pub | bcopy
cat id_rsa.pub | bcopy
it shows no such file or directory.cat id_rsa.pub | bcopy
它显示没有这样的文件或目录。 what should i do?我该怎么办?
$HOME
(Linux or Mac) or %HOME%
(Windows) is set. $HOME
(Linux或Mac)或%HOME%
(Windows)。 $HOME/.ssh/id_rsa
and $HOME/.ssh/id_rsa.pub
$HOME/.ssh/id_rsa
和$HOME/.ssh/id_rsa.pub
Follow for instance, depending on your remote repos server: 例如,根据您的远程存储库服务器,进行以下操作:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.