In brief, I'm using a secure endpoint connection (EC2 instance connect) that allows only ports 22 and 3389. Is port 22 safe, considering its common use as a connection port?

0

"I am utilizing the secure endpoint connection (EC2 instance connect), and the documentation specifies that only ports 22 and 3389 are allowed. My question is whether port 22 is secure because it's a commonly used connection port.

KARTHIK
asked 7 months ago205 views
1 Answer
1

Port 22 is the designated port for SSH. You should focus more on who is allowed to connect via that port. Example: 0.0.0.0/0 will allow everyone to exploit that connect, so be mindful on which IP you use. Moreover, use IAM policies and the likes to enforce it: https://aws.amazon.com/blogs/security/use-ec2-instance-connect-to-provide-secure-ssh-access-to-ec2-instances-with-private-ip-addresses/

profile picture
EXPERT
answered 7 months ago
profile pictureAWS
EXPERT
reviewed 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions