google-coral / pycoral

Python API for ML inferencing and transfer-learning on Coral devices
https://coral.ai
Apache License 2.0
347 stars 144 forks source link

Cannot Set Up SSH Key #78

Closed nihalraman closed 2 years ago

nihalraman commented 2 years ago

Description

Hi! When I try connect to my devboard via "mdt shell," I get the following error message:

I followed the instructions at https://coral.ai/docs/dev-board/mdt/#install-mdt, and it looks like the same key is on both my local device and on the coral. Any help would be very appreciated. Thanks!

Waiting for a device... Connecting to wishful-orange at 172.20.10.4 Key not present on wishful-orange -- pushing

It looks like you're trying to connect to a device that isn't connected to your workstation via USB and doesn't have the SSH key this MDT generated. To connect with mdt shell you will need to first connect to your device ONLY via USB.

Cowardly refusing to attempt to push a key to a public machine.

Click to expand! ### Issue Type Support ### Operating System Mendel Linux ### Coral Device Dev Board ### Other Devices _No response_ ### Programming Language _No response_ ### Relevant Log Output _No response_
hjonnala commented 2 years ago

@nihalraman have you connected to coral dev board using OTG port?

can you please try the solution provided here changing ip address from 192.168.10 to 172.20.10 in site-packages/mdt/sshclient.py line 86: https://stackoverflow.com/questions/58938727/unable-to-connect-google-coral-using-otg-port/59035796#59035796

nihalraman commented 2 years ago

Ah, ok that makes sense. Thanks!

hjonnala commented 2 years ago

@nihalraman are you still having the issue here?

Feel free to reopen if you are still having the issue.Thanks!

google-coral-bot[bot] commented 2 years ago

Are you satisfied with the resolution of your issue? Yes No