github如何配置ssh

时间:2021-07-05 16:56:22   收藏:0   阅读:0

1.问题:

Warning: Permanently added ‘github.com‘ (RSA) to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

2.解析

没有SSHkey 需要使用git生成一个

ssh-keygen -t rsa -C "邮箱号@qq.com"
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!