Access to the SoM through ssh without ip adress

Hi Toradex,

I want to access to the SoM through ssh without need ip address, just username and hostname .

I am using Verdin Development Board
SoM: Verdin-iMX8MP

Any help?

Best ragqrds,

Ahmed49

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?.

Hi @Ahmed49

@ToradexAI is correct.

You can check more about SSH connection in this article.

Hi @Ahmed49

Were you able to access your device, or do you still need help with this issue?

If you don’t have any problems, could you mark the issue as solved?