Why can't I connect to my AWS Cloud9 environment using an Amazon EC2 instance running Amazon Linux 2 as the jump host?
Last updated: 2020-01-31
AWS Cloud9 uses the netcat (nc) command to connect to a jump host (also known as a jump server). However, netcat is not installed by default on EC2 instances running Amazon Linux 2.
1. Manually install the netcat package on your EC2 instance running Amazon Linux 2 by using the following command:
yum install nc
2. Verify that the user account ec2-user has a PATH to the location of the command nc.
Note: You can also use an EC2 instance running the Amazon Linux AMI, which has netcat installed by default.