Connecting to a QNX Azure Virtual Machine

Updated: February 08, 2025

This section describes how to connect to cloud target using SSH or the QNX Momentics IDE.

You must be familiar with using the Azure portal. For details on navigating the Azure portal, go to the Azure documentation: https://learn.microsoft.com/en-us/azure/virtual-machines/.

When connecting to a target, check that the target's security group permits the connection from the IP of your development host machine.

You need the following target information to connect to the target:
  • public IP DNS address
  • key pair file location
  • username (i.e., qnxuser or root, depends on the target)
Connect using the SSH client
To connect using the SSH client, open your host Command Prompt and use the ssh -i command to connect to the target:
ssh -i <key file location>.pem qnxuser@<public IP DNS address>
Note: You can also connect using the Azure serial console, usually reserved for debugging. Only one serial console can be active at one time for a target.
For details on connecting to the target, go to “Connect to a Linux VM” in the Azure documentation: https://learn.microsoft.com/en-us/azure/virtual-machines/linux-vm-connect?tabs=Linux.
Connect using the Momentics IDE

To connect using the Momentics IDE, launch the qconn process on the target to set up an IP connection, and then connect by following the instructions in the “Creating a target connection” chapter of the QNX Momentics IDE User's Guide.