Good evening! I saw there are a lot of quesitons regarding this, but I did not found a solution. I have added “deploy” user and added key to authorized_keys - and was able to actually login with SSH using this key, but all of a sudden server is now prompting for a password again!
The only thing I did, I think, was creating another key (generating) on a server side (I need to to access other server), this process has created known_hosts file. I’m not sure if I was locked out of logging in with SSH key at this point or something else is causing this issue.
Please, adivce ASAP
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.