github clone Permission denied (publickey).

来源:互联网 发布:音频转码软件 编辑:程序博客网 时间:2024/05/18 04:31
Initialized empty Git repository in /publish/erlang/bertie/.git/
Warning: Permanently added the RSA host key for IP address '192.30.252.129' to the list of known hosts.
Permission denied (publickey).

fatal: The remote end hung up unexpectedly


原因:ssh key没设置或过期

1、生成key:ssh-keygen 

2、把~/.ssh/id_rsa.pub 里的加到github  SSH keys


0 0