Docker Community Forums

Share and learn in the Docker community.

Can't connect my instance to ssh

Can’t create a 3-Node Swarm cluster using docker machine Getting connection timed out error. I have aws instance but when I try to connect ssh “ssh root@ip_address” I get connection times out error.

Does the security group (firewall configuration) allow SSH access?

More specifically - on the AWS management console page, select Security Groups in the left panel (towards the bottom) On the bottom-right panel, select “Inbound” tab, and make sure “Custom TCP rule” is selected. Enter 22 for the port number, click the “Add rule” button, then the “apply rule changes” button. No need to restart or reboot your instance, just need to enable TCP port 22 inbound

Thanks. But now I’m getting permission denied