Unable to ssh into web server from db server

Hi,
Regarding DevOps Pre-Requisite Course>> 2 Tier Applications section>> Labs - Setup E-Commerce App - Distributed.
In the above lab I am unable to ssh to web server after completing installation of Mariadb on db server. As per the task need to install httpd

php

php-mysqlnd on web server

But while ssh ing to web server from db server asking for password as below screenshot which was not shared anywhere.
Can someone please check into this as blocked here and unable to proceed further.

Hi @Bhargav1

You can not ssh into web server from db. The ssh access to the servers is allowed only from the jumpHost.
So, if you need to ssh into db from web you need to exit out of the web server and then ssh into the db server.

Hope this helps!

Got it, thank you. It worked now after entering exit command while in db server taking to web server.

1 Like

Hi @Bhargav1

Also see this answer where the explanation as to why this is is given

Thanks for sharing this.