Is there any way I can fix this problem with my coral dev board?

1k views Asked by At

I was using coral board with my login credentials before but the SSH didn't seem to work so I removed the keys from the coral in order to generate new ones and now its not letting me in the board. I'm a noob at this, if you answer this please be specific. its for my college project. How do i change the accesskeys in the directory?

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']
1

There are 1 answers

11
Nam Vu On

ssh should also works (it is what I use), but you'll need generate a key on your host machine and then put it in the ~/.ssh/authorized_keys on the board, there could be multiple keys placed in that file, and mdt needs to be one of them.

  1. To recovers mdt access, you can check here: https://coral.ai/docs/dev-board/mdt/#recover-mdt-access

  2. To ssh into the board, generate your own ssh key:

ssh-keygen

and your new key will be in ~/.ssh/id_rsa.pub, you can put that key on the board in order to ssh.