Closed JasonJWilliamsNY closed 5 years ago
This should be ok - tested this on Amazon AWS
1) Opened port 8000 for inbound/outbound traffic
2) Mapped container port 22 to 8000 docker run -p 8000:22
3) Connected via ssh. ssh dcuser@amazon.ip -p 8000
.
Running the container ssh port on 22 may conflict with connecting to the container while configuring the host machine via an existing ssh session on port 22.