Access to the SoM through ssh without ip adress

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

Did you like my answer?

:+1: :-1:


Hi Ahmed,

To access your Verdin-iMX8MP SoM through SSH using the hostname instead of the IP address, you can follow these steps:

  1. Find the Hostname:

    • The hostname is generated from the unique serial number of the module, found on the board label/sticker. The format is <family>-<processor>-<serial number>, all in lowercase letters.
    • Alternatively, if you have access to the board terminal via the Serial Port Debug Console, you can see the hostname on the terminal or get it using the hostname command.
  2. Add the Suffix:

    • Add the suffix .local to the hostname. For example, if your hostname is verdin-imx8mp-12345678, you will use verdin-imx8mp-12345678.local.
  3. Establish the SSH Connection:

    • Use the SSH command to connect to the SoM. Assuming the username is root, the command would be:
      ssh root@verdin-imx8mp-12345678.local
      
  4. Using Visual Studio Code Extension for Torizon:

    • If you are using Torizon, you can quickly re-establish a connection using the Visual Studio Code Extension for Torizon. Add your device first, then in the Torizon extension view, under Devices, choose your device and click the SSH Terminal button.

By following these steps, you should be able to access your Verdin-iMX8MP SoM through SSH using the hostname without needing the IP address.

Best regards,
[Your Name]

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

How to access the SD card on the Verdin dev board?.