spurin / diveintoansible-lab

Dive Into Ansible Lab
788 stars 498 forks source link

Cannot ssh to centos1 #59

Closed osvaldo0510 closed 2 years ago

osvaldo0510 commented 2 years ago

Hello James, I am taking your course. And everything in working fine, except that I cannot ssh to centos1. I can ping it and can ssh to all of the other terminals except this one. Please help

spurin commented 2 years ago

Hi @osvaldo0510

Apologies for the inactivity on this. I believe this was most likely due to the image possibly being the one that uses 2222 for ssh rather than 22 (depending on where you are in the course). If this is still causing a problem check the docker-compose.yaml file and search for 2222, you should then be able to toggle the lines to put it back to 22.

Hope this helps and do re-open if there is still an issue.

Thanks

James