====== How to protect your VPS server from SSH bot intrusions ====== There are several ways to secure your VPS server from SSH bot attacks: * Setting a [[en:vps:jak-zmienic-haslo-na-serwerze-vps|strong password]] for the root account or administrator user. * [[en:vps:jak-zmienic-port-ssh-na-serwerze-vps|Changing the SSH port]] to something other than the default value (e.g. 22), which will make it harder for bots to attempt to log in automatically. * Limit the number of login attempts within a certain time period (e.g. by setting a limit on login attempts in the file ''/etc/ssh/sshd_config''). * Enabling two-factor authentication verification (e.g. by using Google Authenticator). * Installing and configuring a firewall and anti-bot software such as. [[en:vps:jak-zainstalowac-fail2ban|Fail2ban]] that will limit unwanted connections. * Regularly monitoring server logs for unauthorised login attempts. * Creating [[en:vps:tworzenie-kopii-zapasowej|backup]] of relevant data and regular software updates.