Why can't I connect to my AWS Cloud9 environment using an Amazon EC2 instance that's running Amazon Linux 2 as the jump host?
"When I try connecting to my AWS Cloud9 environment using an Amazon Elastic Compute Cloud (Amazon EC2) instance, I receive a connection error. The Amazon EC2 instance is running Amazon Linux 2 as the jump host. Why can't I connect?"
"When I try connecting to my AWS Cloud9 environment using an Amazon Elastic Compute Cloud (Amazon EC2) instance, I receive a connection error. The Amazon EC2 instance is running Amazon Linux 2 as the jump host. Why can't I connect?Short descriptionAWS Cloud9 uses the netcat (nc) command to connect to a jump host (also known as a jump server). However, netcat isn't installed by default on Amazon EC2 instances running Amazon Linux 2 as the jump host.To connect your AWS Cloud9 environment to a jump server, you must manually install the netcat package on your Amazon EC2 instance.Resolution1.    Use the Linux command line interface (CLI) to install the netcat package on your Amazon EC2 instance by running the following nc command:yum install nc2.    Verify that the user account ec2-user has a PATH to the location of the nc command.Related informationCreating an SSH environmentCannot open an environmentNetcat 1.10 (netcat website)Follow"