Lab setup E-commerce app-distrubuted

I was able to ssh db from web after I was done with db i was trying to ssh from db to web and is giving an error. see below
[[email protected] opt]# ssh web
ssh: connect to host web port 22: Connection refused

Do I need to create public/private key at DB by running ssh-keygen -t rsa

Hi @ohadisaied
Welcome to our community !
To return back from db to web server just use the comman exit .
Hope this helps!

1 Like