spurin / diveintoansible-lab

Dive Into Ansible Lab
850 stars 531 forks source link

SSHD #50

Closed mroctober1011 closed 3 years ago

mroctober1011 commented 3 years ago

Hello! I'm able to connect via the webrowser connecting to the localhost. How would I manage to use ssh if I didn't want to use the web browser? Sorry, I'm still new getting used to terminal commands. Also, this is on macOSX. Screen Shot 2021-07-24 at 4 19 39 PM

spurin commented 3 years ago

Hi @mroctober1011

In the .env file is the list of ports for each of the instances, if you ssh to localhost using the corresponding port, you should be good 👍

mroctober1011 commented 3 years ago

Hi..forgive me for being slow. But would you mind providing either a screenshot or syntax for what I should be entering because I've tried it several different ways and I can't figure it out :(

On Sat, Jul 24, 2021 at 6:34 PM James Spurin @.***> wrote:

Hi @mroctober1011 https://github.com/mroctober1011

In the .env file is the list of ports for each of the instances, if you ssh to localhost using the corresponding port, you should be good 👍

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/spurin/diveintoansible-lab/issues/50#issuecomment-886118845, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZTC432V6IPOZZXMHAWCU3TZM5YNANCNFSM5A5ZJBTQ .

spurin commented 3 years ago

Hi @mroctober1011

Apologies for the late response on this, essentially it would be -

ssh ansible@localhost -p 1234

Substituting, 1234 for the port specified in the .env file