微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

有什么办法可以用我的珊瑚开发板解决此问题?

如何解决有什么办法可以用我的珊瑚开发板解决此问题?

我以前使用带有登录凭据的珊瑚板,但SSH似乎无法正常工作,因此我从珊瑚上移走了密钥,以便生成新的密钥,现在它不允许我进入板中了。我对此不满意,请回答。这是我的大学项目。如何更改目录中的快捷键?

Waiting for a device...
Connecting to green-horse at 192.168.101.2
Key not present on green-horse -- pushing

Couldn't connect to keymaster on green-horse: [Errno 111] Connection refused.

Did you prevIoUsly connect from a different machine? If so,mdt-keymaster will not be running as it only accepts a single key.

You will need to either:
   1) Remove the key from /home/mendel/.ssh/authorized_keys on the
      device via the serial console

- or -

   2) copy the mdt private key from your home directory on this host
      in ~/.config/mdt/keys/mdt.key to the first machine and use
      'mdt pushkey mdt.key' to add that key to the device's
      authorized_keys file.

Failed to push via keymaster -- will attempt password login as a fallback.
Can't login using default credentials: Bad authentication type; allowed types: ['publickey']

解决方法

ssh也应该起作用(这是我所使用的),但是您需要在主机上生成一个密钥,然后将其放入开发板上的~/.ssh/authorized_keys中,其中可能有多个密钥文件,而mdt必须是其中之一。

  1. 要恢复mdt访问,可以在此处检查:https://coral.ai/docs/dev-board/mdt/#recover-mdt-access

  2. 要使用ssh进入板,请生成您自己的ssh密钥:

ssh-keygen

您的新密钥将位于~/.ssh/id_rsa.pub中,您可以将该密钥放在板上以进行ssh。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。