Web: https://www.reddit.com/r/aws/comments/rzpy1f/how_to_do_a_docker_honeypot_on_ec2_port_22/

Jan. 9, 2022, 11:42 a.m. | /u/ImPacingMyself

Amazon Web Services (AWS): S3, EC2, SQS, RDS, DynamoDB, IAM, CloudFormation, Route 53, VPC and more reddit.com

I am trying to figure out how to ssh into a docker container running on EC2 instance. I am using a different port and a pem to ssh into the EC2 instance. I also set the port 22 for inbound tcp in the security group.

On the EC2 there is a docker container running with ssh enabled and is exposed to port 22 (and mapped to host port 22) . I enabled password authentication and set some simple password for the container root user.

What is necessary to ssh into …

aws docker ec2

DevOps Software Engineer

@ Sinch | Malmö, Skåne County, Sweden

Senior Staff Engineer, Cloud Systems

@ Life360 | Remote, USA

Junior DevOps Engineer

@ SmartBear | Wrocław, Lower Silesian Voivodeship, Poland

Senior DevOps Engineer - Data Engineering

@ Life360 | Ukraine

DevOps Engineer , Team Lead ( Remote )

@ AssistRx | Remote - Orlando, Florida, United States

Senior DevSecOps

@ Prodigy Education | Oakville, Ontario