The root password cannot be restored on our VPS and dedicated server. In case you loose your root password we can only do a backup of your VPS (and send you the file for local mount) or mount your hdd on an extra server.
If you have your server encrypted most likely all your data is lost.
For this kind of reasons we recommend:
- Do not set your root password to a 60 letter long password that is hard to type within 10 seconds (timeout time on a linux shell) - 20 letters are secure too and a simple fail2ban or CSF firewall will stop attacks
- Use key auth: it's way more secure than passwords, and that way a brutforce is impossible.
- We also do not recommend changing the ssh port unless you are sure what you are doing, it will not bring you any extra security, the port can be revealed by a portscan within seconds. In case of an ddos attack the non standard port is also may blocked by the ddos protection.
If you want a secure setup, use key auth for your ssh (see also https://help.ubuntu.com/community/SSH/OpenSSH/Keys )
- 4 Korisnici koji smatraju članak korisnim