Connect to an Existing QNX AMI

Updated: March 11, 2025

This section describes how to connect to an existing QNX AMI instance using SSH or the QNX Momentics IDE.

You must be familiar with using the Amazon EC2 environment. For details on navigating the EC2 environment, go to the Amazon User Guide for Linux instance at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts.html

Gather the instance information

Before connecting to an existing target instance, start the instance from the Amazon EC2 console at https://console.aws.amazon.com/ec2/. The instance's security group should include the IP of your development host machine. You need the public IP DNS address, the key pair file and location, and a username for the instance. Depending on the AMI, the default username is qnxuser or root. For details on finding instance information, follow how to “Get information about your instance” in the Amazon document at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-to-linux-instance.html.

Connect using the SSH client
To connect using the SSH client, open your host Command Prompt and use the ssh -i command to connect the instance with the key pair location, the username (either qnxuser or root), and the public IP DNS address for the instance:
ssh -i <key pair location>.pem qnxuser@<public IP DNS address>
For details on connecting with SSH, follow how to “Connect to your instance using SSH” in the Amazon document at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-linux-inst-ssh.html.
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 at “Creating a target connection” in the QNX Momentics IDE User's Guide.

Note: You can also connect using the Amazon EC2 serial console. Only one serial console can be active at one time for an instance and is usually reserved for debugging. For details on using the EC2 concole, follow how to “Connect using the Amazon EC2 console” in the Amazon document at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-methods.html.