It looks to me from the screenshot that you have done the folliowing
ssh dbto get the the DB server to configure the database
- You are now trying to ssh back to the web server from the db server, which isn’t going to work!
What you need to do is to simply
exit from the session on the db server to return to
See this reprodution:
[email protected] ~$ ssh db The authenticity of host 'db (172.16.238.15)' can't be established. ECDSA key fingerprint is SHA256:RxlY26aEGTil4bIyVQN+VkmoP2EQTnWnG4+VKgqFXsw. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added 'db,172.16.238.15' (ECDSA) to the list of known hosts. [[email protected] ~]$ ssh web The authenticity of host 'web (172.16.238.2)' can't be established. ECDSA key fingerprint is SHA256:0+94/9bXVmwLWibFj73mG+1DOF89LdC8xSSHI0WcYUI. ECDSA key fingerprint is MD5:28:10:fc:ea:98:4a:65:0a:4c:f2:25:ac:45:6c:3f:60. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'web,172.16.238.2' (ECDSA) to the list of known hosts. [email protected]'s password: [[email protected] ~]$ exit logout Connection to db closed. [email protected] ~$
But then [email protected]’s password is required, which is not mentioned anywhere
Hi @mayureshkrishna ,
Thanks for highlighting this issue with us. We will add some notes about the SSH steps in the question’s description.
hey, you are probably doing ssh web in [email protected] But the task only said to go BACK from db to web. You are already at web server. You don’t need to ssh anywhere. Simply run ‘exit’ in db server and do the task. It will work. I got confused at the same step and tried to ssh web even though i am already at the web server.