简体   繁体   English

指纹不能为空/内容无效的公钥

[英]Fingerprint can't be blank / Contents Invalid public key

I'm having trouble curling a backup from Heroku. 我在卷曲Heroku的备份时遇到问题。 I'm trying to use heroku add:keys but every time I do I get the error: 我正在尝试使用heroku add:keys但是每次我都会收到错误消息:

Fingerprint can't be blank / Contents Invalid public key

I'm thinking that I'm getting this error because I created the RSA I already had for GitHub and used a different email, but I have no idea. 我在想这个错误是因为我创建了已经为GitHub使用的RSA,并使用了另一封电子邮件,但是我不知道。 Can anyone offer solutions? 谁能提供解决方案?

我最后只是添加了一个新的RSA,事情就解决了。

Just type 只需输入

ssh-keygen

to generate a new RSA key. 生成新的RSA密钥。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM