Hi,
I setup up the Visual Studio Code on linux host machine.
But while adding the verdin iMX8M module with torizon OS, the target gets added to the Devices with the following error:
Error (539) - SSH tunnel error: Could not establish session to SSH gateway
Torizon Output:
Initializing Torizon Extension
Checking Moses ...
Backend local instance running on port 5000
Torizon Backend version 1.0 API version: 1.0
Checking Docker ...
Docker version 20.10.6 build 8728dd2
Trying connect to Toradex Verdin iMX8M Mini WB on Verdin Development Board(01234567)
ARM emulation enabled.
Toradex Verdin iMX8M Mini WB on Verdin Development Board(01234567) not reached
Torizon: all devices refreshed
Torizon: unreachable devices
Torizon IDE backedn terminal:
Torizon IDE backend Terminal:
Serving on http://localhost:5000
INFO:root:REST -> /api/version
INFO:root:REST <- /api/version - 200
INFO:root:REST -> /api/version/docker
INFO:root:REST <- /api/version/docker - 200
INFO:root:REST -> /api/setup/enableemulation
INFO:root:REST -> /api/devices
INFO:root:REST <- /api/devices - 200
INFO:root:REST -> /api/devices/01234567/images
INFO:root:SSH - Creating tunnel to 01234567
2021-05-10 11:21:36,529| ERROR | Could not open connection to gateway
ERROR:sshtunnel.SSHTunnelForwarder:Could not open connection to gateway
ERROR:root:Error: 539 SSH tunnel error. SSH tunnel error: Could not establish session to SSH gateway
ERROR:root:Exception: SSH tunnel error: Could not establish session to SSH gateway
ERROR:root:Could not establish session to SSH gateway
INFO:root:REST <- /api/devices/01234567/images - 539
INFO:root:REST -> /api/devices/01234567/images
But connecting over ssh does work:
$ ssh torizon@192.168.1.100
torizon@192.168.1.100's password:
verdin-imx8mm-01234567:~$ uname -a
Linux verdin-imx8mm-01234567 5.4.91-rt50-5.2.0-devel+git.3ae7ec26415b #1-TorizonCore SMP PREEMPT_RT Mon Apr 12 08:35:57 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
With another host machine (Ubuntu 20) the connection with the visual studio code extension does work.
Any ideas how I can resolve this?