Answer the question
In order to leave comments, you need to log in
I broke the SSH configuration file and now I can't log into the server. What to do?
Set up SSH keys. I copied the public key to the server and successfully logged in using it. Then in /etc/ssh/sshd_config I changed "PasswordAuthentication" from "yes" to "no" so as not to enter a password, restarted SSH, stupidly re-logged in and now putty issues "Disconnected: No supported authentication methods ..."
FTP on the server no.
How to fix without reinstalling the virtual machine?
Answer the question
In order to leave comments, you need to log in
Does the hoster have no web console for the server?
If not, nothing, then reinstall.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question