lab question 4
please anyone guide how to come back to web server from db server, as it is asking password.
ssh web?//
lab question 4
please anyone guide how to come back to web server from db server, as it is asking password.
ssh web?//
Hi @mc130201884
You can pass exit
command or press ctrl+d
to exit from db
server and land on web
server.
In all multi-node labs where SSH is involved, you can only ssh to other boxes from the node that the terminal starts on, therefore you SSH somewhere, exit
to the start node, then SSH to the next place.
starting node
/ \
web <-- NO---> db
This is a “bastion host” policy where in this case the start node is the bastion. The bastion is the only host that can SSH to the other hosts. This is nearly always the model that is used in corporate networks for a security and administrative perspective.
If everything could SSH to everything else, then you would have a spider web of SSH connections and a large number of SSH keys to manage - making the Linux Admin’s job a complete nightmare!
thank a lot sir for helping