netcat on AWS EC2

By Brian Fitzgerald

Issue

You want to run netcat on Amazon AWS EC2

[ec2-user@ip-172-31-80-17 ~]$ nc odbcblog.crzco2g2glv6.us-east-1.rds.amazonaws.com 1433
-bash: nc: command not found

Solution

Install RPM nmap-ncat

[ec2-user@ip-172-31-80-17 ~]$ sudo yum -y install nmap-ncat
[ec2-user@ip-172-31-80-17 ~]$ nc -v odbcblog.crzco2g2glv6.us-east-1.rds.amazonaws.com 1433
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connection timed out.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s