gpt4 book ai didi

cloudcontrol - 云控错误cctrluser key.add

转载 作者:行者123 更新时间:2023-12-01 11:40:10 25 4
gpt4 key购买 nike

我安装了 cctrl 并尝试创建一个公钥,我在命令提示符下键入 cctrluser key.add,但收到错误消息。有人可以帮忙吗?

C:\Users\sumit>cctrluser key.add
Key 'C:\Users\sumit/.ssh/id_rsa.pub' seems to be invalid or not found!
Type "Yes" to generate a new default SSH-key pair: yes
Traceback (most recent call last):
File "cctrluser", line 150, in <module>
File "cctrluser", line 34, in main
File "cctrluser", line 144, in parse_cmdline
File "cctrl\common.pyo", line 99, in run
File "cctrl\user.pyo", line 124, in addKey
File "cctrl\keyhelpers.pyo", line 149, in create_new_default_ssh_keys
File "cctrl\keyhelpers.pyo", line 57, in generate_rsa_keys
File "cctrl\keyhelpers.pyo", line 85, in generate_rsa_key_manually
File "cctrl\keyhelpers.pyo", line 101, in generate_private_rsa_key_file
File "paramiko\__init__.pyo", line 65, in <module>
File "paramiko\transport.pyo", line 45, in <module>
File "paramiko\ecdsakey.pyo", line 24, in <module>
ImportError: No module named ecdsa

最佳答案

我找到了解决方案。

获取 Git Bash。

然后使用以下命令:

$ ssh-keygen -C youremail@provider.com

将创建的 ssh 保存到 id_rsa(默认,建议位置)

youremail@provider.com 是您用来创建 cloudcontrol 帐户的电子邮件。

然后进入您的 cloudcontrol 帐户并在 SSH key 输入中添加 ~/.ssh/id_rsa.pub 的内容。

关于cloudcontrol - 云控错误cctrluser key.add,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21947874/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com