An issue with ssh access to another app (02,03, etc)

I was working on Lab - Switching and Routing, under Networking basis section, and I realized that I can not access app02 via sudo ssh app02 or sudo ssh thor@app02 command. It says I need to enter a password which I do not know. The following was tried:

  • changing a password via sudo passwd thor command bring a negative result (while entering a password it says permissions denied)
  • changing permissions for .ssh folder to 700 and .athorized_keys to 600 accordingly (i also tried to change owner’s persmissions to thor:thor as well)
    Please any advice what I’m doing wrong.

See this post; it will answer your question.

Intresting to solve the bug