Swarm - Adding host and connect

I’am testing rancher and Swarm capabilities. So I created a new Swarm environment and add 2 hosts into it. I choosed AWS EC2 driver.

I entered my AWS credentials and fiiled the form. After validation of it, I see in my AWS console that 2 new ECS VM are created, but how can I remotely connect on it because I dod not choose any .pem file or credentials anywhere ?

Thank you

docker-machine generates a new SSH key for each host. You can download it from the “Machine Config” action on the host and use the id_rsa file contained within to connect.