1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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/