terminated with exit code: 255

Hello Team Toradex,

I have successfully connect my Verdin IMX8MP to Visual studio code after that I have developed sample application, than I am deploy that application and test the application on Toradex Display.

But After the enhancement of that application, I am adding the UART and I2C data read write code than I am trying to deploy the application than it will show the error. The error i am mentioning below.

Executing task: sshpass -p 123123 scp -P 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /home/RaviVanand/test/docker-compose.yml torizon@192.168.0.137:~/

ssh: connect to host 192.168.0.137 port 22: No route to host
scp: Connection closed

  • The terminal process “sshpass ‘-p’, ‘123123’, ‘scp’, ‘-P’, ‘22’, ‘-o’, ‘UserKnownHostsFile=/dev/null’, ‘-o’, ‘StrictHostKeyChecking=no’, ‘/home/RaviVanand/test/docker-compose.yml’, ‘torizon@192.168.0.137:~/’” terminated with exit code: 255.

After the this error I am trying to establish connection in putty console using the my board’s IP Address but in putty it will show that connection timed out.

after this i have try ping command in cmd ping 192.168.0.137 but it will show the message like, Destination host unreachable. but i have connected my host pc and board on a same ethernet network.

So How can i resolve the above issue.

Best Regards
Ravi Vanand

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello Ravi,

The error message you’re encountering suggests that your host PC is unable to establish a network connection to your Verdin iMX8MP module. Here are a few steps you can take to troubleshoot and resolve this issue:

  1. Check Network Configuration:

    • Ensure that both your host PC and the Verdin iMX8MP module are connected to the same network.
    • Verify that the IP address of the Verdin module (192.168.0.137) is correct and hasn’t changed. You can do this by checking the IP address assigned to the module using a serial console connection.
  2. Ping the Module:

    • Use the ping command from your host PC to check if the module is reachable:
      ping 192.168.0.137
      
    • If you receive a “Destination host unreachable” message, it indicates that the module is not reachable on the network.
  3. Check SSH Service:

    • Ensure that the SSH service is running on the Verdin module. You can check this by connecting to the module via a serial console and running:
      systemctl status ssh
      
    • If the SSH service is not running, you can start it using:
      systemctl start ssh
      
  4. Network Interface Status:

    • Verify that the network interface on the Verdin module is up and running. You can check the status using:
      ip a
      
    • Ensure that the Ethernet interface (e.g., eth0) has an IP address assigned and is in the “UP” state.
  5. Firewall and Security Settings:

    • Check if there are any firewall rules or security settings on your host PC or network that might be blocking the connection to the Verdin module.
  6. Reboot the Module:

    • Sometimes, simply rebooting the Verdin module can resolve network connectivity issues. You can reboot the module using:
      reboot
      
  7. Check Ethernet Cable and Switch:

    • Ensure that the Ethernet cable and switch/router are functioning correctly. Try using a different cable or port if necessary.

If you have followed these steps and are still unable to connect, please provide additional details about your network setup and any recent changes that might have affected the connectivity.

Best Regards,
[Your Name]

Please, also check if these links can help you solve your problem:

VSCode Application deployment with external libraries.

@ToradexAI ,
Thank you I have resolved My Issue