I get the following error when I use "mdt shell". I have went through the documentation and all I want to know how I can access the board files? As the documentation tells me to remove the authorized keys from /home/mendel/.ssh/authorized-keys directory. I have connected the serial port but I don't see anything when I try to Dmesg| grep but i get a sound like a device is connected to the PC. How can I access the coral files in order to delete the authorized files? I'm using UBUNTU terminal on Windows.
''' ~$ mdt shell green-horse Waiting for device green-horse... 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:
- Remove the key from /home/mendel/.ssh/authorized_keys on the device via the serial console
or -
- 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'] '''
Did you insert the SD card on the first attempt to connect using mdt? If so, remove it and try again.